]> granicus.if.org Git - pdns/commitdiff
make pdnssec read the right configuration file, plus make add-zone-key add zsks
authorBert Hubert <bert.hubert@netherlabs.nl>
Sun, 2 Jan 2011 21:48:57 +0000 (21:48 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sun, 2 Jan 2011 21:48:57 +0000 (21:48 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1793 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/pdnssec.cc

index 646f14584dee0e43729fe460f6ac0ea7687b7666..ac8d4200f9804a92f2c91fc8bee04528343ab112 100644 (file)
@@ -16,7 +16,7 @@ using namespace boost;
 namespace po = boost::program_options;
 po::variables_map g_vm;
 
-string s_programname="pdns_server";
+string s_programname="pdns";
 
 ArgvMap &arg()
 {
@@ -256,7 +256,7 @@ try
     const string& zone=cmds[1];
     // need to get algorithm & ksk or zsk from commandline
     cerr<<"Adding a ZSK"<<endl;
-    dk.addKey(zone, 1, 5, 0); 
+    dk.addKey(zone, 0, 5, 0); 
   }
   else if(cmds[0] == "remove-zone-key") {
     const string& zone=cmds[1];