Skip to content

Commit 6538ed1

Browse files
coverity fix for CID 327268
1 parent b465453 commit 6538ed1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/ssl.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8715,9 +8715,10 @@ int wolfSSL_SetCRL_Cb(WOLFSSL* ssl, CbMissingCRL cb)
87158715
int wolfSSL_SetCRL_IOCb(WOLFSSL* ssl, CbCrlIO cb)
87168716
{
87178717
WOLFSSL_ENTER("wolfSSL_SetCRL_Cb");
8718-
SSL_CM_WARNING(ssl);
8719-
if (ssl)
8718+
if (ssl) {
8719+
SSL_CM_WARNING(ssl);
87208720
return wolfSSL_CertManagerSetCRL_IOCb(SSL_CM(ssl), cb);
8721+
}
87218722
else
87228723
return BAD_FUNC_ARG;
87238724
}

0 commit comments

Comments
 (0)