Skip to content

Commit 1128d08

Browse files
committed
fixup! psa: Disallow use of invalid hash contexts
1 parent 1473b25 commit 1128d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/suites/test_suite_psa_crypto.function

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,7 @@ exit:
19501950
/* BEGIN_CASE */
19511951
void hash_operation_init( )
19521952
{
1953-
const uint8_t input[1];
1953+
const uint8_t input[1] = { 0 };
19541954
/* Test each valid way of initializing the object, except for `= {0}`, as
19551955
* Clang 5 complains when `-Wmissing-field-initializers` is used, even
19561956
* though it's OK by the C standard. We could test for this, but we'd need

0 commit comments

Comments
 (0)