Permalink
Browse files

Fixed test_ssl_connection_reuse on ruby 1.8

  • Loading branch information...
drbrain committed Oct 17, 2012
1 parent fd44daf commit f5d4c7441c9c123af6e34215dba77d4162a95653
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_net_http_persistent_ssl_reuse.rb
@@ -81,7 +81,7 @@ def test_ssl_connection_reuse
@http = Net::HTTP::Persistent::SSLReuse.new @host, @port
@http.cert_store = store
- @http.ssl_version = :SSLv3
+ @http.ssl_version = :SSLv3 if @http.respond_to? :ssl_version=
@http.use_ssl = true
@http.verify_mode = OpenSSL::SSL::VERIFY_PEER

0 comments on commit f5d4c74

Please sign in to comment.