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");