[core] Fix missing parameter in crypt wrapper

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent ab9421a5e1
commit 0db6543682

@ -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
}

Loading…
Cancel
Save