Skip to content

Commit c9fbad2

Browse files
authored
Merge pull request #9504 from julek-wolfssl/cov-20251203
Fix uninit variables
2 parents ab1a738 + 24b35ba commit c9fbad2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/api/test_x509.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ int test_x509_GetCAByAKID(void)
181181
XMEMSET(&cm, 0, sizeof(cm));
182182
XMEMSET(&signerA, 0, sizeof(signerA));
183183
XMEMSET(&signerB, 0, sizeof(signerB));
184+
XMEMSET(issuerHash, 0, sizeof(issuerHash));
185+
XMEMSET(serialHash, 0, sizeof(serialHash));
184186

185187
/* Initialize CA mutex so GetCAByAKID can lock/unlock it. */
186188
ExpectIntEQ(wc_InitMutex(&cm.caLock), 0);

0 commit comments

Comments
 (0)