diff --git a/lib/net/http.rb b/lib/net/http.rb index 552f818..f3ae24f 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -859,6 +859,7 @@ def use_ssl=(flag) :@ciphers, :@extra_chain_cert, :@key, + :@security_level, :@ssl_timeout, :@ssl_version, :@min_version, @@ -876,6 +877,7 @@ def use_ssl=(flag) :ciphers, :extra_chain_cert, :key, + :security_level, :ssl_timeout, :ssl_version, :min_version, @@ -913,6 +915,9 @@ def use_ssl=(flag) # (This method is appeared in Michal Rokos's OpenSSL extension.) attr_accessor :key + # Sets the SSL security_level. See OpenSSL::SSL::SSLContext#security_level= + attr_accessor :security_level + # Sets the SSL timeout seconds. attr_accessor :ssl_timeout