diff options
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/lib/openssl/ssl.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb index 3a4735ff77..71726801c0 100644 --- a/ext/openssl/lib/openssl/ssl.rb +++ b/ext/openssl/lib/openssl/ssl.rb @@ -37,6 +37,9 @@ module OpenSSL unless ctx.ca_file or ctx.ca_path or ctx.cert_store or ctx.verify_callback ctx.cert_store = OpenSSL::X509::Store.new + if defined?(OpenSSL::X509::V_FLAG_CRL_CHECK_ALL) + ctx.cert_store.flags = OpenSSL::X509::V_FLAG_CRL_CHECK_ALL + end ctx.cert_store.set_default_paths end end |