diff options
Diffstat (limited to 'test/openssl/test_pkey_ec.rb')
-rw-r--r-- | test/openssl/test_pkey_ec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/openssl/test_pkey_ec.rb b/test/openssl/test_pkey_ec.rb index e05b70ac2f..e15d875295 100644 --- a/test/openssl/test_pkey_ec.rb +++ b/test/openssl/test_pkey_ec.rb @@ -14,12 +14,12 @@ class OpenSSL::TestEC < OpenSSL::TestCase OpenSSL::PKey::EC.builtin_curves.each do |curve, comment| group = OpenSSL::PKey::EC::Group.new(curve) - key = OpenSSL::PKey::EC.new(group) - key.generate_key! - # Oakley curves and X25519 are not suitable for signing next if ["Oakley", "X25519"].any? { |n| curve.start_with?(n) } + key = OpenSSL::PKey::EC.new(group) + key.generate_key! + @groups << group @keys << key end |