diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdcrypt/encrypt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdcrypt/encrypt.cpp b/src/core/stdcrypt/encrypt.cpp index c5d0bbb7bf..b4bdae7e01 100644 --- a/src/core/stdcrypt/encrypt.cpp +++ b/src/core/stdcrypt/encrypt.cpp @@ -113,7 +113,7 @@ bool CStdCrypt::checkPassword(const char *pszPassword) // sets the master password (in utf-8)
void CStdCrypt::setPassword(const char *pszPassword)
{
- m_password = pszPassword;
+ m_password = (pszPassword == NULL) ? "Miranda" : pszPassword;
}
// result must be freed using mir_free or assigned to mir_ptr<BYTE>
|