Fix no-dsa build again
authorBenjamin Kaduk <kaduk@mit.edu>
Sun, 25 Jun 2017 02:46:36 +0000 (21:46 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Sun, 25 Jun 2017 02:46:36 +0000 (21:46 -0500)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3762)

test/recipes/60-test_x509_check_cert_pkey.t

index 51d2996..d7ee642 100644 (file)
@@ -22,10 +22,13 @@ ok(run(test(["x509_check_cert_pkey_test",
 ok(run(test(["x509_check_cert_pkey_test",
              srctop_file("test", "certs", "servercert.pem"),
              srctop_file("test", "certs", "wrongkey.pem"), "cert", "failed"])));
-# dsa
-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"])));
+SKIP: {
+    skip "DSA disabled", 1, if disabled("dsa");
+    # dsa
+    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
 SKIP: {
     skip "EC disabled", 1 if disabled("ec");