We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03e5d10 commit cb0e2c8Copy full SHA for cb0e2c8
1 file changed
src/ssl.c
@@ -8212,15 +8212,18 @@ int wolfSSL_CertManagerEnableCRL(WOLFSSL_CERT_MANAGER* cm, int options)
8212
WOLFSSL_ENTER("wolfSSL_CertManagerEnableCRL");
8213
if (cm == NULL)
8214
return BAD_FUNC_ARG;
8215
- if (options == 0) {
8216
#if defined(OPENSSL_COMPATIBLE_DEFAULTS)
+ if (options == 0) {
8217
+
8218
/* Turn off doing Leaf CRL check */
8219
cm->crlEnabled = 0;
8220
/* Turn off all checks */
8221
cm->crlCheckAll = 0;
-#endif
8222
return ret;
8223
}
8224
+#else
8225
+ (void)options;
8226
+#endif
8227
8228
#ifdef HAVE_CRL
8229
if (cm->crl == NULL) {
0 commit comments