diff options
| author | Simeon Simeonov | 2018-03-19 22:06:25 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2018-03-19 22:06:25 +0100 |
| commit | c6f80c49de727b9857d2bbd1eeaf85930612d0ce (patch) | |
| tree | b08d5949b28907afdea01f4745b66283f2159d79 /libsylph/masterpassword.c | |
| parent | 6edeb462320240d981ec307798c7841e50197758 (diff) | |
Add min password length spinbutton to common preferences
Diffstat (limited to 'libsylph/masterpassword.c')
| -rw-r--r-- | libsylph/masterpassword.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
| 111 | str, | 111 | str, |
| 112 | master_password, | 112 | master_password, |
| 113 | strlen(str), | 113 | strlen(str), |
| 114 | 32, /* TODO: to be set in prefs_common */ | 114 | prefs_common.encrypted_password_min_length, |
| 115 | TRUE) != RC_OK) { | 115 | TRUE) != RC_OK) { |
| 116 | OPENSSL_cleanse(new_str, strlen(new_str)); | 116 | OPENSSL_cleanse(new_str, strlen(new_str)); |
| 117 | g_free(new_str); | 117 | g_free(new_str); |
