[core] Fix missing parameter in crypt wrapper

personal/stbuehler/wip
Stefan Bühler 12 years ago
parent ab9421a5e1
commit 0db6543682
  1. 2
      src/common/utils.c

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