You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MRI's SSLSocket#cipher returns an array, while JRuby returns a string[1]. We
don't typically run our client http code under JRuby, but ensure we don't crash
when trying to print debug info.
[1] jruby/jruby#2436
MRI's docs say
OpenSSL::SSL::SSLSocket#cipher
(http://ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/SSL/SSLSocket.html#method-i-cipher)Under MRI 2.1.4, this returns something like the docs say:
["ECDHE-RSA-AES128-GCM-SHA256", "TLSv1/SSLv3", 128, 128]
Under JRuby 1.7.17, this returns a single string (not array w/ 4 elements):
SSL_RSA_WITH_RC4_128_SHA
The text was updated successfully, but these errors were encountered: