diff options
author | Steven Siloti <ssiloti@gmail.com> | 2016-02-23 20:15:23 -0800 |
---|---|---|
committer | Steven Siloti <ssiloti@gmail.com> | 2016-02-23 20:28:52 -0800 |
commit | a915abf35a6e43d2a0cacf62f2b4a8432a2358d8 (patch) | |
tree | 829c179965beac0359b43ddd77aa656156c9a427 /src/resolve/test-dnssec.c | |
parent | 03e6b71c062769a7ed6c272d1fef1ff277104901 (diff) | |
download | systemd-a915abf35a6e43d2a0cacf62f2b4a8432a2358d8.tar.gz |
dnssec: only run tests that require gcrypt if we have it
Diffstat (limited to 'src/resolve/test-dnssec.c')
-rw-r--r-- | src/resolve/test-dnssec.c | 2 |
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; } |