mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead
of string keys to avoid duplicating parameters in OpenSSL::SSL:SSLContext#set_params. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e68f4ac7dc
commit
661a936e64
2 changed files with 19 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Nov 11 07:33:30 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead
|
||||
of string keys to avoid duplicating parameters in
|
||||
OpenSSL::SSL:SSLContext#set_params.
|
||||
|
||||
Thu Nov 10 15:02:37 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (have_library, have_func, have_var, have_header):
|
||||
|
|
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue