From d24847c77ad6fb23a9827544432819e196eb4286 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 22 Dec 2015 10:23:40 +0100 Subject: [PATCH] remove indirection in secureZone --- pdns/pdnsutil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 857c5901f0..7b46c5d9ad 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 '"<