Skip to content

Commit 26e6fd9

Browse files
committed
update wolfSSL_X509_STORE_set_flags
1 parent cb0e2c8 commit 26e6fd9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/x509_str.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,10 +982,11 @@ int wolfSSL_X509_STORE_set_flags(WOLFSSL_X509_STORE* store, unsigned long flag)
982982
if ((flag & WOLFSSL_CRL_CHECKALL) || (flag & WOLFSSL_CRL_CHECK)) {
983983
ret = wolfSSL_CertManagerEnableCRL(store->cm, (int)flag);
984984
}
985+
#if defined(OPENSSL_COMPATIBLE_DEFAULTS)
985986
else if (flag == 0) {
986987
ret = wolfSSL_CertManagerDisableCRL(store->cm);
987988
}
988-
989+
#endif
989990
return ret;
990991
}
991992

0 commit comments

Comments
 (0)