From: Steven Siloti Date: Wed, 24 Feb 2016 04:15:23 +0000 (-0800) Subject: dnssec: only run tests that require gcrypt if we have it X-Git-Tag: v230~313^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2726%2Fhead;p=thirdparty%2Fsystemd.git dnssec: only run tests that require gcrypt if we have it --- diff --git a/src/resolve/test-dnssec.c b/src/resolve/test-dnssec.c index a093d86a910..c9b5ffa62b3 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; }