From 26e6fd9a6f3d5259163246a49f3977a8f7121ae6 Mon Sep 17 00:00:00 2001 From: Tesfa Mael Date: Tue, 27 Jun 2023 08:15:49 -0700 Subject: [PATCH] update wolfSSL_X509_STORE_set_flags --- src/x509_str.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/x509_str.c b/src/x509_str.c index 1ac305328..0071d06ac 100644 --- a/src/x509_str.c +++ b/src/x509_str.c @@ -982,10 +982,11 @@ int wolfSSL_X509_STORE_set_flags(WOLFSSL_X509_STORE* store, unsigned long flag) if ((flag & WOLFSSL_CRL_CHECKALL) || (flag & WOLFSSL_CRL_CHECK)) { ret = wolfSSL_CertManagerEnableCRL(store->cm, (int)flag); } +#if defined(OPENSSL_COMPATIBLE_DEFAULTS) else if (flag == 0) { ret = wolfSSL_CertManagerDisableCRL(store->cm); } - +#endif return ret; }