dnssec: only run tests that require gcrypt if we have it

This commit is contained in:
Steven Siloti 2016-02-23 20:15:23 -08:00
parent 03e6b71c06
commit a915abf35a

View file

@ -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;
}