We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb69662 commit 3b00b05Copy full SHA for 3b00b05
1 file changed
tests/api/test_pkcs12.c
@@ -434,6 +434,7 @@ int test_wc_PKCS12_encrypted_content_bounds(void)
434
word32 regPkeySz = 0;
435
word32 regCertSz = 0;
436
437
+ XMEMSET(regCiphertext, 0, sizeof(regCiphertext));
438
/* Derive AES-256 key with the same PBKDF2 that DecryptContent uses */
439
ExpectIntEQ(wc_PBKDF2(regKey, (const byte*)regPassword,
440
(int)XSTRLEN(regPassword), regSalt, (int)sizeof(regSalt),
0 commit comments