summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdcrypt/encrypt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdcrypt/encrypt.cpp b/src/core/stdcrypt/encrypt.cpp
index 1616ac376f..c5d0bbb7bf 100644
--- a/src/core/stdcrypt/encrypt.cpp
+++ b/src/core/stdcrypt/encrypt.cpp
@@ -83,7 +83,7 @@ bool CStdCrypt::setKey(const BYTE *pKey, size_t cbKeyLen)
return false;
memcpy(m_key, &tmp.m_key, KEY_LENGTH);
- m_aes.MakeKey(m_key, m_password, KEY_LENGTH, BLOCK_SIZE);
+ m_aes.MakeKey(m_key, "Miranda", KEY_LENGTH, BLOCK_SIZE);
return m_valid = true;
}
@@ -94,7 +94,7 @@ bool CStdCrypt::generateKey(void)
return false;
memcpy(m_key, tmp, KEY_LENGTH);
- m_aes.MakeKey(m_key, m_password, KEY_LENGTH, BLOCK_SIZE);
+ m_aes.MakeKey(m_key, "Miranda", KEY_LENGTH, BLOCK_SIZE);
return m_valid = true;
}