mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 15:50:51 +02:00
initialize test variable regCiphertext
This commit is contained in:
@@ -434,6 +434,7 @@ int test_wc_PKCS12_encrypted_content_bounds(void)
|
||||
word32 regPkeySz = 0;
|
||||
word32 regCertSz = 0;
|
||||
|
||||
XMEMSET(regCiphertext, 0, sizeof(regCiphertext));
|
||||
/* Derive AES-256 key with the same PBKDF2 that DecryptContent uses */
|
||||
ExpectIntEQ(wc_PBKDF2(regKey, (const byte*)regPassword,
|
||||
(int)XSTRLEN(regPassword), regSalt, (int)sizeof(regSalt),
|
||||
|
||||
Reference in New Issue
Block a user