summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorSteven Siloti <ssiloti@gmail.com>2016-02-23 20:15:23 -0800
committerSteven Siloti <ssiloti@gmail.com>2016-02-23 20:28:52 -0800
commita915abf35a6e43d2a0cacf62f2b4a8432a2358d8 (patch)
tree829c179965beac0359b43ddd77aa656156c9a427 /src/resolve
parent03e6b71c062769a7ed6c272d1fef1ff277104901 (diff)
dnssec: only run tests that require gcrypt if we have it
Diffstat (limited to 'src/resolve')
-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;
}