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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5592%2Fhead;p=thirdparty%2Fpdns.git 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 ab3c88443e..3898169c13 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.");