Fix no-dsa build again
[openssl.git] / 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");