diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-16 18:20:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-16 18:20:00 +0100 |
commit | a86187b9cd529754ad85cd621169876317eb3a69 (patch) | |
tree | f8ed8bc8a666c1065a8aea6cf11a97531b658fe1 /src/option.c | |
parent | 6403bcdaf4dc36c0445a539a37510534ef87ca24 (diff) | |
download | vim-git-a86187b9cd529754ad85cd621169876317eb3a69.tar.gz |
patch 8.1.0606: 'cryptmethod' defaults to a very old methodv8.1.0606
Problem: 'cryptmethod' defaults to a very old method.
Solution: Default to "blowfish2", it is now widely available.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 192d292d5..f8e91e45c 100644 --- 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} |