]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1528: libsodium encryption is only used with "huge" features v9.0.1528
authorBram Moolenaar <Bram@vim.org>
Mon, 8 May 2023 21:11:07 +0000 (22:11 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 8 May 2023 21:11:07 +0000 (22:11 +0100)
Problem:    Libsodium encryption is only used with "huge" features, even when
            manually enabled through configure. (Tony Mechelynck)
Solution:   Remove the condition on FEAT_HUGE.

src/feature.h
src/version.c

index 24c84488cf4515650011f1c62a5cb23aeef75ece..ba61fa2dafa7689668a3ecddca3d0f1d3246a421 100644 (file)
 #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
 
index e6d27132d449d6fe5e024686eba97ff233d3ad98..5af78a53c35be938426b60a27982ed6a5c075433 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1528,
 /**/
     1527,
 /**/