From: Kees Monshouwer Date: Fri, 18 Mar 2016 12:58:03 +0000 (+0100) Subject: pdnsutil: make ecdsa256 the default algorithm for add-zone-key and generate-zone-key X-Git-Tag: dnsdist-1.0.0-beta1~23^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fae95f259e10eefa06999952380b28d927e21508;p=thirdparty%2Fpdns.git pdnsutil: make ecdsa256 the default algorithm for add-zone-key and generate-zone-key --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index ffb2c34fa8..efc17f2896 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -2148,7 +2148,7 @@ loadMainConfig(g_vm["config-dir"].as()); bool keyOrZone=false; int tmp_algo=0; int bits=0; - int algorithm=8; + int algorithm=13; // ecdsa256 bool active=false; for(unsigned int n=2; n < cmds.size(); ++n) { if(pdns_iequals(cmds[n], "zsk")) @@ -2609,7 +2609,7 @@ loadMainConfig(g_vm["config-dir"].as()); bool keyOrZone=false; int tmp_algo=0; int bits=0; - int algorithm=8; + int algorithm=13; // ecdsa256 for(unsigned int n=1; n < cmds.size(); ++n) { if(pdns_iequals(cmds[n], "zsk")) keyOrZone = false;