]> granicus.if.org Git - pdns/commitdiff
salt was confusing, should be ipcipheripcipher
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 7 Feb 2018 12:18:09 +0000 (13:18 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Mar 2019 09:22:40 +0000 (10:22 +0100)
pdns/ipcipher.cc

index 5d5230638715101d4b2d9a4733d33388dc0c6a98..745fe4721f88a71759c0f7bad7a62c5ac59ae25b 100644 (file)
@@ -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);