Skip to content

Commit 24b35ba

Browse files
committed
Fix uninit variables
1 parent ab1a738 commit 24b35ba

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)