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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user