diff options
author | K.Takata <kentkt@csc.jp> | 2022-01-19 13:32:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-19 13:32:57 +0000 |
commit | 1a8825d7a3484d76ca16ea2aa9769cadca7758a4 (patch) | |
tree | 3fa19e87656a4a3ef97ad6fc4635719c841d24c9 /src/proto/crypt.pro | |
parent | b0b2b73dca40c26ff1f4befe5c3aad3fd4bccfad (diff) | |
download | vim-git-1a8825d7a3484d76ca16ea2aa9769cadca7758a4.tar.gz |
patch 8.2.4144: cannot load libsodium dynamicallyv8.2.4144
Problem: Cannot load libsodium dynamically.
Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
Diffstat (limited to 'src/proto/crypt.pro')
-rw-r--r-- | src/proto/crypt.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/crypt.pro b/src/proto/crypt.pro index 18382a7f3..682fe4533 100644 --- a/src/proto/crypt.pro +++ b/src/proto/crypt.pro @@ -26,4 +26,6 @@ void crypt_append_msg(buf_T *buf); int crypt_sodium_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); long crypt_sodium_buffer_encode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, int last); long crypt_sodium_buffer_decode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, int last); +int crypt_sodium_munlock(void *const addr, const size_t len); +void crypt_sodium_randombytes_buf(void *const buf, const size_t size); /* vim: set ft=c : */ |