From dda01c05c2ded3f0d11703bd983a19b6ca7d5055 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 8 May 2023 22:11:07 +0100 Subject: 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. --- src/feature.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/feature.h') 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 -- cgit v1.2.3