Skip to content

Commit 6ff57b8

Browse files
authored
Merge pull request #9419 from rlm2002/coverity
Uninitialized variable fix
2 parents 4f3586f + b2336c5 commit 6ff57b8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47323,6 +47323,7 @@ static int test_rpk_set_xxx_cert_type(void)
4732347323
ssl = wolfSSL_new(ctx);
4732447324
ExpectNotNull(ssl);
4732547325

47326+
XMEMSET(ctype, 0, sizeof(ctype));
4732647327
/*--------------------------------------------*/
4732747328
/* tests for wolfSSL_CTX_set_client_cert_type */
4732847329
/*--------------------------------------------*/

0 commit comments

Comments
 (0)