summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-05-08 22:11:07 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-08 22:11:07 +0100
commitdda01c05c2ded3f0d11703bd983a19b6ca7d5055 (patch)
tree7cd162e53631b6d7298a29a46f97055d6f76e8ea
parentc28e7a2b2f23dbd246a1ad7ad7aaa6f7ab2e5887 (diff)
downloadvim-git-dda01c05c2ded3f0d11703bd983a19b6ca7d5055.tar.gz
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.h4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/feature.h b/src/feature.h
index 24c84488c..ba61fa2da 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 e6d27132d..5af78a53c 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,