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/memline.c | |
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/memline.c')
-rw-r--r-- | src/memline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c index a42c5f156..56f6958de 100644 --- a/src/memline.c +++ b/src/memline.c @@ -436,7 +436,8 @@ ml_set_mfp_crypt(buf_T *buf) } #ifdef FEAT_SODIUM else if (method_nr == CRYPT_M_SOD) - randombytes_buf(buf->b_ml.ml_mfp->mf_seed, MF_SEED_LEN); + crypt_sodium_randombytes_buf(buf->b_ml.ml_mfp->mf_seed, + MF_SEED_LEN); #endif } } |