summaryrefslogtreecommitdiffstats
path: root/src/feature.h
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 /src/feature.h
parentc28e7a2b2f23dbd246a1ad7ad7aaa6f7ab2e5887 (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.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h4
1 files changed, 2 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