From 70a025eb2f606894581cd1364f94bbff5c9be797 Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Sat, 5 Oct 2024 16:13:12 +0100 Subject: [PATCH] freezing DEFAULT_CERT_STORE (shareable by default) --- lib/openssl/ssl.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/openssl/ssl.rb b/lib/openssl/ssl.rb index 2186f5f43..245ddffe7 100644 --- a/lib/openssl/ssl.rb +++ b/lib/openssl/ssl.rb @@ -93,6 +93,7 @@ class SSLContext DEFAULT_CERT_STORE = OpenSSL::X509::Store.new # :nodoc: DEFAULT_CERT_STORE.set_default_paths DEFAULT_CERT_STORE.flags = OpenSSL::X509::V_FLAG_CRL_CHECK_ALL + DEFAULT_CERT_STORE.freeze # A callback invoked when DH parameters are required for ephemeral DH key # exchange.