mirror of
https://github.com/ruby/ruby.git
synced 2025-08-27 06:56:13 +02:00
* ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): override
options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined. this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35215a8503
commit
7b0635d157
2 changed files with 7 additions and 0 deletions
|
@ -64,6 +64,7 @@ module OpenSSL
|
|||
opts |= OpenSSL::SSL::OP_NO_COMPRESSION if defined?(OpenSSL::SSL::OP_NO_COMPRESSION)
|
||||
opts |= OpenSSL::SSL::OP_NO_SSLv2 if defined?(OpenSSL::SSL::OP_NO_SSLv2)
|
||||
opts |= OpenSSL::SSL::OP_NO_SSLv3 if defined?(OpenSSL::SSL::OP_NO_SSLv3)
|
||||
opts
|
||||
}.call
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue