2
0
Fork 0

[core] Fix missing parameter in crypt wrapper

This commit is contained in:
Stefan Bühler 2010-10-06 13:51:30 +02:00
parent ab9421a5e1
commit 0db6543682
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,7 @@ void li_safe_crypt(GString *dest, const GString *password, const GString *salt)
static GStaticMutex crypt_mutex = G_STATIC_MUTEX_INIT;
g_static_mutex_lock(&crypt_mutex);
g_string_assign(crypt(password->str, salt->str));
g_string_assign(dest, crypt(password->str, salt->str));
g_static_mutex_unlock(&crypt_mutex);
#endif
}