lib/timber/cli/api.rb in timber-2.4.0 vs lib/timber/cli/api.rb in timber-2.5.0
- old
+ new
@@ -157,12 +157,12 @@
elsif code >= 500
raise ServerError.new
else
res
end
- rescue OpenSSL::SSL::SSLError => e
- if http.ssl_version != :SSLv23
- http.ssl_version = :SSLv23
+ rescue OpenSSL::SSL::SSLError => _e
+ if http.ssl_version != :TLSv1_2
+ http.ssl_version = :TLSv1_2
issue!(req)
end
end
def http
\ No newline at end of file