From: bert hubert Date: Wed, 7 Feb 2018 12:18:09 +0000 (+0100) Subject: salt was confusing, should be ipcipheripcipher X-Git-Tag: dnsdist-1.4.0-alpha1~27^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f920428547bfb632c45837d294d31d336de5fe17;p=thirdparty%2Fpdns.git salt was confusing, should be ipcipheripcipher --- diff --git a/pdns/ipcipher.cc b/pdns/ipcipher.cc index 5d52306387..745fe4721f 100644 --- a/pdns/ipcipher.cc +++ b/pdns/ipcipher.cc @@ -10,7 +10,7 @@ int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen, */ std::string makeIPCipherKey(const std::string& password) { - static const char salt[]="ipcryptipcrypt"; + static const char salt[]="ipcipheripcipher"; unsigned char out[16]; PKCS5_PBKDF2_HMAC_SHA1(password.c_str(), password.size(), (const unsigned char*)salt, sizeof(salt)-1, 50000, sizeof(out), out);