summaryrefslogtreecommitdiffstats
path: root/src/crypt_zip.c
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/crypt_zip.c
parent208f0b48b2c616b29f377a1408290111ed2663f7 (diff)
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/crypt_zip.c')
-rw-r--r--src/crypt_zip.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crypt_zip.c b/src/crypt_zip.c
index 42abe9350b..b11d7a329f 100644
--- a/src/crypt_zip.c
+++ b/src/crypt_zip.c
@@ -114,7 +114,8 @@ crypt_zip_encode(
cryptstate_T *state,
char_u *from,
size_t len,
- char_u *to)
+ char_u *to,
+ int last UNUSED)
{
zip_state_T *zs = state->method_state;
size_t i;
@@ -137,7 +138,8 @@ crypt_zip_decode(
cryptstate_T *state,
char_u *from,
size_t len,
- char_u *to)
+ char_u *to,
+ int last UNUSED)
{
zip_state_T *zs = state->method_state;
size_t i;