diff options
author | Christian Brabandt <cb@256bit.org> | 2023-04-23 17:50:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-04-23 17:50:22 +0100 |
commit | aae583441bcdbb0bfef3b8a1d193e04ae09ca95d (patch) | |
tree | e3cf7c27fc02e1232fe5ab8f8da32581e9782718 /src/crypt_zip.c | |
parent | dcd40cfca0fe0e65d405ce9711745a8ec846c30c (diff) |
patch 9.0.1481: decrypting with libsodium may fail if the library changesv9.0.1481
Problem: Decrypting with libsodium may fail if the library changes.
Solution: Add parameters used to the encrypted file header. (Christian
Brabandt, closes #12279)
Diffstat (limited to 'src/crypt_zip.c')
-rw-r--r-- | src/crypt_zip.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crypt_zip.c b/src/crypt_zip.c index 91bbd7ba10..89e45951ca 100644 --- a/src/crypt_zip.c +++ b/src/crypt_zip.c @@ -83,10 +83,7 @@ make_crc_tab(void) crypt_zip_init( cryptstate_T *state, char_u *key, - char_u *salt UNUSED, - int salt_len UNUSED, - char_u *seed UNUSED, - int seed_len UNUSED) + crypt_arg_T *arg UNUSED) { char_u *p; zip_state_T *zs; |