Skip to content

Commit f1c9c53

Browse files
committed
fixup! psa: Disallow use of invalid cipher contexts
1 parent bde8c56 commit f1c9c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/suites/test_suite_psa_crypto.function

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2525,8 +2525,8 @@ exit:
25252525
/* BEGIN_CASE */
25262526
void cipher_operation_init( )
25272527
{
2528-
const uint8_t input[1];
2529-
unsigned char output[1];
2528+
const uint8_t input[1] = { 0 };
2529+
unsigned char output[1] = { 0 };
25302530
size_t output_length;
25312531
/* Test each valid way of initializing the object, except for `= {0}`, as
25322532
* Clang 5 complains when `-Wmissing-field-initializers` is used, even

0 commit comments

Comments
 (0)