From 3b00b054b3d76e1f2da506ed243448e70abe4b4b Mon Sep 17 00:00:00 2001 From: Ruby Martin Date: Wed, 29 Apr 2026 14:19:49 -0600 Subject: [PATCH] initialize test variable regCiphertext --- tests/api/test_pkcs12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api/test_pkcs12.c b/tests/api/test_pkcs12.c index de11cc436a..80f23e76b7 100644 --- a/tests/api/test_pkcs12.c +++ b/tests/api/test_pkcs12.c @@ -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),