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/fileio.c | |
parent | 983c4e93dc560b00c5c7b752a3a7c1c452359c38 (diff) |
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/fileio.c')
-rw-r--r-- | src/fileio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 0843d04296..a978ec241d 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2958,6 +2958,7 @@ check_for_cryptkey(cryptkey, ptr, sizep, filesizep, newfile, fname, did_ask) * Happens when retrying to detect encoding. */ smsg((char_u *)_(need_key_msg), fname); msg_scroll = TRUE; + crypt_check_method(method); cryptkey = crypt_get_key(newfile, FALSE); *did_ask = TRUE; |