Initialize fullMac in test

This commit is contained in:
Mattia Moffa
2026-04-13 18:07:16 +02:00
parent 7bd2c3c946
commit 41e54ba4f0
+1 -1
View File
@@ -485,7 +485,7 @@ int test_wc_PKCS12_truncated_mac_bypass(void)
byte unicodePw[2 * sizeof(password) + 2];
int unicodePwLen = 0;
byte macKey[WC_SHA256_DIGEST_SIZE];
byte fullMac[WC_SHA256_DIGEST_SIZE];
byte fullMac[WC_SHA256_DIGEST_SIZE] = {0};
Hmac hmac;
int hmacInited = 0;
word32 i;