diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-05-08 22:11:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-08 22:11:07 +0100 |
commit | dda01c05c2ded3f0d11703bd983a19b6ca7d5055 (patch) | |
tree | 7cd162e53631b6d7298a29a46f97055d6f76e8ea | |
parent | c28e7a2b2f23dbd246a1ad7ad7aaa6f7ab2e5887 (diff) |
patch 9.0.1528: libsodium encryption is only used with "huge" featuresv9.0.1528
Problem: Libsodium encryption is only used with "huge" features, even when
manually enabled through configure. (Tony Mechelynck)
Solution: Remove the condition on FEAT_HUGE.
-rw-r--r-- | src/feature.h | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/feature.h b/src/feature.h index 24c84488cf..ba61fa2daf 100644 --- a/src/feature.h +++ b/src/feature.h @@ -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 diff --git a/src/version.c b/src/version.c index e6d27132d4..5af78a53c3 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1528, +/**/ 1527, /**/ 1526, |