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 51d2996784c5614367ad838b80b8ec84f561b1f0..d7ee64264983059bebd3d32ceaabb8f87197afd3 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");