From f920428547bfb632c45837d294d31d336de5fe17 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Wed, 7 Feb 2018 13:18:09 +0100 Subject: [PATCH] salt was confusing, should be ipcipheripcipher --- pdns/ipcipher.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ipcipher.cc b/pdns/ipcipher.cc index 5d5230638..745fe4721 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); -- 2.49.0