From: Peter van Dijk Date: Tue, 22 Dec 2015 09:23:40 +0000 (+0100) Subject: remove indirection in secureZone X-Git-Tag: dnsdist-1.0.0-alpha1~22^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d24847c77ad6fb23a9827544432819e196eb4286;p=pdns remove indirection in secureZone --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 857c5901f..7b46c5d9a 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1229,7 +1229,7 @@ bool secureZone(DNSSECKeeper& dk, const DNSName& zone) cout << "Securing zone with " << k_algos[0] << " algorithm with default key size" << endl; // run secure-zone with first default algorith, then add keys - if(!dk.secureZone(zone, shorthand2algorithm(k_algos[0]), k_size)) { + if(!dk.addKey(zone, true, shorthand2algorithm(k_algos[0]), k_size)) { cerr<<"No backend was able to secure '"<