Skip to content

Commit c529b2f

Browse files
authored
Merge pull request #6627 from jpbland1/ocsp-nonce-usage-fix
fix bad & statement that was setting ocspSendNonce
2 parents d0abfd7 + a9c9662 commit c529b2f

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)