Skip to content

Commit 41e54ba

Browse files
committed
Initialize fullMac in test
1 parent 7bd2c3c commit 41e54ba

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
@@ -485,7 +485,7 @@ int test_wc_PKCS12_truncated_mac_bypass(void)
485485
byte unicodePw[2 * sizeof(password) + 2];
486486
int unicodePwLen = 0;
487487
byte macKey[WC_SHA256_DIGEST_SIZE];
488-
byte fullMac[WC_SHA256_DIGEST_SIZE];
488+
byte fullMac[WC_SHA256_DIGEST_SIZE] = {0};
489489
Hmac hmac;
490490
int hmacInited = 0;
491491
word32 i;

0 commit comments

Comments
 (0)