Skip to content

Commit a9c9662

Browse files
committed
fix bad & statement that was setting ocspSendNonce
to 1 when WOLFSSL_OCSP_NO_NONCE was selected related to but doesn't solve zd 16377
1 parent 37be7a4 commit a9c9662

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ssl_certman.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,8 @@ int wolfSSL_CertManagerEnableOCSP(WOLFSSL_CERT_MANAGER* cm, int options)
19741974
cm->ocspUseOverrideURL = 1;
19751975
}
19761976
/* Set nonce option for creating OCSP requests. */
1977-
cm->ocspSendNonce = (options & WOLFSSL_OCSP_NO_NONCE) != 0;
1977+
cm->ocspSendNonce = (options & WOLFSSL_OCSP_NO_NONCE) !=
1978+
WOLFSSL_OCSP_NO_NONCE;
19781979
/* Set all OCSP checks on if requested. */
19791980
if (options & WOLFSSL_OCSP_CHECKALL) {
19801981
cm->ocspCheckAll = 1;

0 commit comments

Comments
 (0)