summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-24 00:40:48 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-24 00:40:48 -0500
commit3349f777518f607cea5a9473ed63676f7de70129 (patch)
treec3cd4c9cb8018f0ae20723f3b4c2fb4558eb7e85
parentf6b052559c202c648d1ec528439d532380422223 (diff)
parenta915abf35a6e43d2a0cacf62f2b4a8432a2358d8 (diff)
Merge pull request #2726 from ssiloti/master
dnssec: only run tests that require gcrypt if we have it
-rw-r--r--src/resolve/test-dnssec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/test-dnssec.c b/src/resolve/test-dnssec.c
index a093d86a91..c9b5ffa62b 100644
--- a/src/resolve/test-dnssec.c
+++ b/src/resolve/test-dnssec.c
@@ -327,10 +327,12 @@ static void test_dnssec_nsec3_hash(void) {
int main(int argc, char*argv[]) {
test_dnssec_canonicalize();
+#ifdef HAVE_GCRYPT
test_dnssec_verify_dns_key();
test_dnssec_verify_rrset();
test_dnssec_verify_rrset2();
test_dnssec_nsec3_hash();
+#endif
return 0;
}