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