diff src/ex_docmd.c @ 6353:60659773c73b v7.4.509

updated for version 7.4.509 Problem: Users are not aware their encryption is weak. Solution: Give a warning when prompting for the key.
author Bram Moolenaar <bram@vim.org>
date Wed, 12 Nov 2014 15:15:42 +0100
parents 85d8cde3b432
children 5a76e36f07b1
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -11524,6 +11524,7 @@ ex_match(eap)
 ex_X(eap)
     exarg_T	*eap UNUSED;
 {
+    crypt_check_current_method();
     (void)crypt_get_key(TRUE, TRUE);
 }
 #endif