mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 18:53:33 +08:00
dnssec: only run tests that require gcrypt if we have it
This commit is contained in:
parent
03e6b71c06
commit
a915abf35a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user