From 0b0980ca4414e0f3771db1e70b16d81914e75596 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Dec 2013 20:26:10 +0000 Subject: fix for the AES initial chain git-svn-id: http://svn.miranda-ng.org/main/trunk@7057 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdcrypt/encrypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3