From 7046ca938defcf8bc11b8f053a3f70a0c3a9766c Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Sun, 24 Apr 2016 00:01:36 +0900 Subject: test/openssl: X25519 doesn't support signing --- test/openssl/test_pkey_ec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3