diff options
author | rhe <rhe@ruby-lang.org> | 2016-05-30 16:52:10 +0000 |
---|---|---|
committer | rhe <rhe@ruby-lang.org> | 2016-05-30 16:52:10 +0000 |
commit | 41b928e82b447b8e170575f1442cd0c7ac32085d (patch) | |
tree | d2e891189e66f6509f869a8451191c8ae74a3240 | |
parent | d34e217fe0829a3cfc21c23e1bb63eeaf0d37330 (diff) | |
download | ruby-openssl-history-41b928e82b447b8e170575f1442cd0c7ac32085d.tar.gz |
openssl: fix test failure on Fedora 23
* test/openssl/test_pair.rb (test_ecdh_curves): Avoid P-224. The FIPS
patch from RHEL disables it. The curve has to be chosen from: {
secp256k1, secp384r1, secp521r1, prime256v1 }.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/test_pair.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pair.rb b/test/test_pair.rb index d9341ad..86aa279 100644 --- a/test/test_pair.rb +++ b/test/test_pair.rb @@ -425,7 +425,7 @@ module OpenSSL::TestPairM ctx1 = OpenSSL::SSL::SSLContext.new ctx1.ciphers = "ECDH" - ctx1.ecdh_curves = "P-384:P-224" + ctx1.ecdh_curves = "P-384:P-521" s1 = OpenSSL::SSL::SSLSocket.new(sock1, ctx1) ctx2 = OpenSSL::SSL::SSLContext.new |