changeset 32393:ba9862df7d13 v9.0.1528

patch 9.0.1528: libsodium encryption is only used with "huge" features Commit: https://github.com/vim/vim/commit/dda01c05c2ded3f0d11703bd983a19b6ca7d5055 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 8 22:11:07 2023 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 May 2023 23:15:03 +0200
parents 0c733d132cff
children 0db2ebbe7711
files src/feature.h src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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,