From 978b700bf9531fa9bee0e69aa292f0f2be0f1251 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 26 Apr 2017 18:46:31 +0100 Subject: [PATCH] no-ec fix Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3503) --- test/recipes/25-test_verify.t | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/test/recipes/25-test_verify.t b/test/recipes/25-test_verify.t index 643b02e834..001d37a51b 100644 --- a/test/recipes/25-test_verify.t +++ b/test/recipes/25-test_verify.t @@ -12,6 +12,7 @@ use warnings; use File::Spec::Functions qw/canonpath/; use OpenSSL::Test qw/:DEFAULT srctop_file/; +use OpenSSL::Test::Utils; setup("test_verify"); @@ -341,6 +342,12 @@ ok(!verify("ee-pss-sha1-cert", "sslserver", ["root-cert"], ["ca-cert"], "-auth_l ok(verify("ee-pss-sha256-cert", "sslserver", ["root-cert"], ["ca-cert"], "-auth_level", "2"), "PSS signature using SHA256 and auth level 2"); -# ED25519 certificate from draft-ietf-curdle-pkix-04 -ok(verify("ee-ed25519", "sslserver", ["root-ed25519"], []), - "ED25519 signature"); +SKIP: { + skip "Ed25519 is not supported by this OpenSSL build", 1 + if disabled("ec"); + + # ED25519 certificate from draft-ietf-curdle-pkix-04 + ok(verify("ee-ed25519", "sslserver", ["root-ed25519"], []), + "ED25519 signature"); + +} -- GitLab