From: bert hubert Date: Mon, 19 Feb 2018 09:21:19 +0000 (+0100) Subject: make pdnsutil support base64 encoded keys for ipcipher X-Git-Tag: dnsdist-1.4.0-alpha1~27^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ae24e0984e2db09d741aff1ce762565e1382b39;p=thirdparty%2Fpdns.git make pdnsutil support base64 encoded keys for ipcipher --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index b73bbf39b1..ffad92e75b 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1003,9 +1003,9 @@ int editZone(DNSSECKeeper& dk, const DNSName &zone) { return EXIT_SUCCESS; } -static int xcryptIP(const std::string& cmd, const std::string& ip, const std::string& key) +static int xcryptIP(const std::string& cmd, const std::string& ip, const std::string& rkey) { - string rkey = makeIPCipherKey(key); + ComboAddress ca(ip), ret; if(cmd=="ipencrypt") @@ -1970,9 +1970,9 @@ try cout<<"increase-serial ZONE Increases the SOA-serial by 1. Uses SOA-EDIT"<