Skip to content

Commit da386b4

Browse files
committed
Initialize fullMac in test
1 parent 0987756 commit da386b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/api/test_pkcs12.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ int test_wc_PKCS12_truncated_mac_bypass(void)
292292
byte unicodePw[2 * sizeof(password) + 2];
293293
int unicodePwLen = 0;
294294
byte macKey[WC_SHA256_DIGEST_SIZE];
295-
byte fullMac[WC_SHA256_DIGEST_SIZE];
295+
byte fullMac[WC_SHA256_DIGEST_SIZE] = {0};
296296
Hmac hmac;
297297
int hmacInited = 0;
298298
word32 i;

0 commit comments

Comments
 (0)