aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_engine.rb
diff options
context:
space:
mode:
authorrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-18 09:10:19 +0000
committerrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-18 09:10:19 +0000
commitc2158dd55e608327d3f91de5b36e5e621ada0617 (patch)
treeb3d7a4595e740167307fbea19ffd0c117044f718 /test/openssl/test_engine.rb
parent73769079599cf1fc84f63c03f524001399775f74 (diff)
downloadruby-c2158dd55e608327d3f91de5b36e5e621ada0617.tar.gz
openssl: avoid test crash on Ubuntu 16.04
* test/openssl/test_pkey_ec.rb (setup): Don't call EC#generate_key! for Oakley-* curves. This causes an odd error on Ubuntu 16.04 with openssl 1.0.2g-1ubuntu4.1. begin OpenSSL::PKey::EC.new("Oakley-EC2N-4").generate_key rescue p $! end OpenSSL::PKey::RSA.new(512) This sometimes causes: #<OpenSSL::PKey::ECError: EC_KEY_generate_key: pairwise test failed> fips.c(139): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE [ruby-dev:49670] [Bug #12504] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_engine.rb')
0 files changed, 0 insertions, 0 deletions