diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-29 20:37:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-29 20:37:49 +0200 |
commit | 131530a54d0f72b820b027606231744e3a09b9ef (patch) | |
tree | d288b74f18adb46ab6917e506dc78616fd0463c7 /src/fileio.c | |
parent | 41114a2a27047bf1884e092b98c6298c128eb2f0 (diff) |
patch 8.2.3245: the crypt key may appear in a swap partitionv8.2.3245
Problem: The crypt key may appear in a swap partition.
Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt,
closes #8657)
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c index bd4038c36a..81a7b50915 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -13,10 +13,6 @@ #include "vim.h" -#ifdef FEAT_SODIUM -# include <sodium.h> -#endif - #if defined(__TANDEM) # include <limits.h> // for SSIZE_MAX #endif |