0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.509

Problem:    Users are not aware their encryption is weak.
Solution:   Give a warning when prompting for the key.
This commit is contained in:
Bram Moolenaar
2014-11-12 15:15:42 +01:00
parent 983c4e93dc
commit 3a0c908983
6 changed files with 27 additions and 0 deletions

View File

@@ -854,6 +854,7 @@ vim_main2(int argc UNUSED, char **argv UNUSED)
#ifdef FEAT_CRYPT
if (params.ask_for_key)
{
crypt_check_current_method();
(void)crypt_get_key(TRUE, TRUE);
TIME_MSG("getting crypt key");
}