diff src/option.c @ 15192:690da0a83419 v8.1.0606

patch 8.1.0606: 'cryptmethod' defaults to a very old method commit https://github.com/vim/vim/commit/a86187b9cd529754ad85cd621169876317eb3a69 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 16 18:20:00 2018 +0100 patch 8.1.0606: 'cryptmethod' defaults to a very old method Problem: 'cryptmethod' defaults to a very old method. Solution: Default to "blowfish2", it is now widely available.
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Dec 2018 18:30:05 +0100
parents 40d9218b2b12
children 6ab9c18708c4
line wrap: on
line diff
--- a/src/option.c
+++ b/src/option.c
@@ -927,7 +927,7 @@ static struct vimoption options[] =
     {"cryptmethod", "cm",   P_STRING|P_ALLOCED|P_VI_DEF,
 #ifdef FEAT_CRYPT
 			    (char_u *)&p_cm, PV_CM,
-			    {(char_u *)"zip", (char_u *)0L}
+			    {(char_u *)"blowfish2", (char_u *)0L}
 #else
 			    (char_u *)NULL, PV_NONE,
 			    {(char_u *)0L, (char_u *)0L}