0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.1528: libsodium encryption is only used with "huge" features

Problem:    Libsodium encryption is only used with "huge" features, even when
            manually enabled through configure. (Tony Mechelynck)
Solution:   Remove the condition on FEAT_HUGE.
This commit is contained in:
Bram Moolenaar 2023-05-08 22:11:07 +01:00
parent c28e7a2b2f
commit dda01c05c2
2 changed files with 4 additions and 2 deletions

View File

@ -373,9 +373,9 @@
#endif
/*
* libsodium - add cryptography support
* libsodium - add advanced cryptography support
*/
#if defined(HAVE_SODIUM) && defined(FEAT_HUGE)
#if defined(HAVE_SODIUM) && defined(FEAT_CRYPT)
# define FEAT_SODIUM
#endif

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1528,
/**/
1527,
/**/