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/vim.h | |
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/vim.h')
-rw-r--r-- | src/vim.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -486,6 +486,10 @@ typedef unsigned int u8char_T; // int is 32 bits or more # endif #endif +#ifdef HAVE_SODIUM +# include <sodium.h> +#endif + // ================ end of the header file puzzle =============== /* |