update wolfSSL_X509_STORE_set_flags
This commit is contained in:
parent
cb0e2c8b0f
commit
26e6fd9a6f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user