summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2021-06-20 14:02:16 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-20 14:02:16 +0200
commitf573c6e1ed58d46d694c802eaf5ae3662a952744 (patch)
tree9d3ccf4402f322b9d1baf130696a6b0e600ae693 /src/structs.h
parent208f0b48b2c616b29f377a1408290111ed2663f7 (diff)
downloadvim-git-f573c6e1ed58d46d694c802eaf5ae3662a952744.tar.gz
patch 8.2.3022: available encryption methods are not strong enoughv8.2.3022
Problem: Available encryption methods are not strong enough. Solution: Add initial support for xchaha20. (Christian Brabandt, closes #8394)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index 26ab315fe..d62b10f37 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2513,11 +2513,12 @@ typedef struct {
# define CRYPT_M_ZIP 0
# define CRYPT_M_BF 1
# define CRYPT_M_BF2 2
-# define CRYPT_M_COUNT 3 // number of crypt methods
+# define CRYPT_M_SOD 3
+# define CRYPT_M_COUNT 4 // number of crypt methods
// Currently all crypt methods work inplace. If one is added that isn't then
// define this.
-// # define CRYPT_NOT_INPLACE 1
+# define CRYPT_NOT_INPLACE 1
#endif
#ifdef FEAT_PROP_POPUP