summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb17
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 2172bfccc0..1c594e0e4d 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -674,10 +674,19 @@ module Net #:nodoc:
@use_ssl = flag
end
- SSL_ATTRIBUTES = %w(
- ssl_version key cert ca_file ca_path cert_store ciphers
- verify_mode verify_callback verify_depth ssl_timeout
- )
+ SSL_ATTRIBUTES = [
+ :ca_file,
+ :ca_path,
+ :cert,
+ :cert_store,
+ :ciphers,
+ :key,
+ :ssl_timeout,
+ :ssl_version,
+ :verify_callback,
+ :verify_depth,
+ :verify_mode,
+ ]
# Sets path of a CA certification file in PEM format.
#