diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-11-12 15:15:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-11-12 15:15:42 +0100 |
commit | 3a0c90898338c04bde314bede9f116f299eaddef (patch) | |
tree | 52c90925ed68b802fd1e0a4e943876a53532acf0 /src/main.c | |
parent | 983c4e93dc560b00c5c7b752a3a7c1c452359c38 (diff) | |
download | vim-git-3a0c90898338c04bde314bede9f116f299eaddef.tar.gz |
updated for version 7.4.509v7.4.509
Problem: Users are not aware their encryption is weak.
Solution: Give a warning when prompting for the key.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index fe7549582..181438519 100644 --- a/src/main.c +++ b/src/main.c @@ -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"); } |