summaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey_rsa.c
diff options
context:
space:
mode:
authorrhe <rhe@ruby-lang.org>2016-06-18 09:10:19 +0000
committerrhe <rhe@ruby-lang.org>2016-06-18 09:10:19 +0000
commit6565548d336ed726b71465b0ec62ca72a3f1673c (patch)
tree451ae2d7201a262ebf660e288aa2dc4401faf271 /ext/openssl/ossl_pkey_rsa.c
parentdc2691cf6e8bcf8e072162f45331e5a1d8144c86 (diff)
downloadruby-openssl-history-6565548d336ed726b71465b0ec62ca72a3f1673c.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 'ext/openssl/ossl_pkey_rsa.c')
0 files changed, 0 insertions, 0 deletions