From: bert hubert Date: Fri, 24 May 2013 12:12:55 +0000 (+0200) Subject: catch a lot more errors in pdnssec and report them. Fixes #588. Fixing #588. X-Git-Tag: auth-3.3-rc1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07bf35d15523262cb7785c433e80627bf9abd27f;p=pdns catch a lot more errors in pdnssec and report them. Fixes #588. Fixing #588. --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 1b7cf5e6d..78cac42f5 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -785,7 +785,7 @@ bool secureZone(DNSSECKeeper& dk, const std::string& zone) } for(vector::iterator i = k_algos.begin()+1; i != k_algos.end(); i++) - dk.addKey(zone, true, shorthand2algorithm(*i), k_size, true); + dk.addKey(zone, true, shorthand2algorithm(*i), k_size, true); // obvious errors will have been caught above BOOST_FOREACH(string z_algo, z_algos) { @@ -1147,13 +1147,18 @@ try bits = atoi(cmds[n].c_str()); } else { cerr<<"Unknown algorithm, key flag or size '"<