diff options
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/test_pkey_ec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/openssl/test_pkey_ec.rb b/test/openssl/test_pkey_ec.rb index fe128fd455..9c00d5bf26 100644 --- a/test/openssl/test_pkey_ec.rb +++ b/test/openssl/test_pkey_ec.rb @@ -12,7 +12,9 @@ class OpenSSL::TestEC < Test::Unit::TestCase @keys = [] OpenSSL::PKey::EC.builtin_curves.each do |curve, comment| - next if curve.start_with?("Oakley") # Oakley curves are not suitable for ECDSA + # These curves are exceptional + next if ["Oakley", "X25519"].any? { |n| curve.start_with?(n) } + group = OpenSSL::PKey::EC::Group.new(curve) key = OpenSSL::PKey::EC.new(group) |