Skip to content

Commit

Permalink
Allow SSLv2 also, fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
glebtv committed Feb 2, 2014
1 parent fd6f1ce commit 016035c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
glebtv-httpclient (3.2.0.beta5)
glebtv-httpclient (3.2.0.beta6)
PriorityQueue
activesupport

Expand Down
2 changes: 1 addition & 1 deletion lib/httpclient/ssl_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def initialize(client)
@verify_callback = nil
@dest = nil
@timeout = nil
@ssl_version = "SSLv3"
@ssl_version = "SSLv23"
@options = defined?(SSL::OP_ALL) ? SSL::OP_ALL | SSL::OP_NO_SSLv2 : nil
# OpenSSL 0.9.8 default: "ALL:!ADH:!LOW:!EXP:!MD5:+SSLv2:@STRENGTH"
@ciphers = "ALL:!aNULL:!eNULL:!SSLv2" # OpenSSL >1.0.0 default
Expand Down

0 comments on commit 016035c

Please sign in to comment.