From c6f80c49de727b9857d2bbd1eeaf85930612d0ce Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Mon, 19 Mar 2018 22:06:25 +0100 Subject: Add min password length spinbutton to common preferences --- libsylph/masterpassword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsylph/masterpassword.c') diff --git a/libsylph/masterpassword.c b/libsylph/masterpassword.c index 77ff281..b86f06b 100644 --- a/libsylph/masterpassword.c +++ b/libsylph/masterpassword.c @@ -111,7 +111,7 @@ gchar *encrypt_with_master_password(const gchar *str) { str, master_password, strlen(str), - 32, /* TODO: to be set in prefs_common */ + prefs_common.encrypted_password_min_length, TRUE) != RC_OK) { OPENSSL_cleanse(new_str, strlen(new_str)); g_free(new_str); -- cgit v1.3