From: Remi Gacogne Date: Thu, 10 Aug 2017 11:46:05 +0000 (+0200) Subject: rec: Fix the tests added in #5569 and #5570, DNSSEC modes changed in #5557 X-Git-Tag: dnsdist-1.2.0~31^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d7b19c5b404a5ee84dfbb63e3f1ca7e7d405b0c;p=pdns rec: Fix the tests added in #5569 and #5570, DNSSEC modes changed in #5557 --- diff --git a/pdns/recursordist/test-syncres_cc.cc b/pdns/recursordist/test-syncres_cc.cc index ab3c88443..3898169c1 100644 --- a/pdns/recursordist/test-syncres_cc.cc +++ b/pdns/recursordist/test-syncres_cc.cc @@ -4871,7 +4871,7 @@ BOOST_AUTO_TEST_CASE(test_dnssec_ds_sign_loop) { std::unique_ptr sr; initSR(sr, true); - g_dnssecmode = DNSSECMode::ValidateAll; + setDNSSECValidation(sr, DNSSECMode::ValidateAll); primeHints(); const DNSName target("www.powerdns.com."); @@ -6714,7 +6714,7 @@ BOOST_AUTO_TEST_CASE(test_dnssec_bogus_nodata) { std::unique_ptr sr; initSR(sr, true); - g_dnssecmode = DNSSECMode::ValidateAll; + setDNSSECValidation(sr, DNSSECMode::ValidateAll); primeHints(); const DNSName target("powerdns.com.");