0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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.
This commit is contained in:
Bram Moolenaar
2018-12-16 18:20:00 +01:00
parent 6403bcdaf4
commit a86187b9cd
3 changed files with 6 additions and 4 deletions

View File

@@ -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}