summaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2017-06-15 17:01:04 -0400
committerRich Salz <rsalz@openssl.org>2017-06-15 17:02:45 -0400
commit1316c9ffabf684302ea2059cdf3765492c3e7da4 (patch)
tree3d509ca16ba14904ff569d77cd86547c5cad0a3d /test/recipes
parent3ec32be78a5d39cd6d1211e61967590f17918284 (diff)
Fix no-ec
Also remove nested OPENSSL_NO_EC conditional; it was properly indented, but a no-op. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/3693)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/60-test_x509_check_cert_pkey.t10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/recipes/60-test_x509_check_cert_pkey.t b/test/recipes/60-test_x509_check_cert_pkey.t
index 794e71959f..51d2996784 100644
--- a/test/recipes/60-test_x509_check_cert_pkey.t
+++ b/test/recipes/60-test_x509_check_cert_pkey.t
@@ -8,6 +8,7 @@
use OpenSSL::Test qw/:DEFAULT srctop_file/;
+use OpenSSL::Test::Utils;
setup("test_x509_check_cert_pkey");
@@ -26,9 +27,12 @@ ok(run(test(["x509_check_cert_pkey_test",
srctop_file("test", "certs", "server-dsa-cert.pem"),
srctop_file("test", "certs", "server-dsa-key.pem"), "cert", "ok"])));
# ecc
-ok(run(test(["x509_check_cert_pkey_test",
- srctop_file("test", "certs", "server-ecdsa-cert.pem"),
- srctop_file("test", "certs", "server-ecdsa-key.pem"), "cert", "ok"])));
+SKIP: {
+ skip "EC disabled", 1 if disabled("ec");
+ ok(run(test(["x509_check_cert_pkey_test",
+ srctop_file("test", "certs", "server-ecdsa-cert.pem"),
+ srctop_file("test", "certs", "server-ecdsa-key.pem"), "cert", "ok"])));
+}
# certificate request (rsa)
ok(run(test(["x509_check_cert_pkey_test",
srctop_file("test", "certs", "x509-check.csr"),