commit | 131530a54d0f72b820b027606231744e3a09b9ef | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 29 20:37:49 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 29 20:37:49 2021 +0200 |
tree | d288b74f18adb46ab6917e506dc78616fd0463c7 | |
parent | 41114a2a27047bf1884e092b98c6298c128eb2f0 [diff] [blame] |
patch 8.2.3245: the crypt key may appear in a swap partition Problem: The crypt key may appear in a swap partition. Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt, closes #8657)
diff --git a/src/vim.h b/src/vim.h index e45a1de..30cf284 100644 --- a/src/vim.h +++ b/src/vim.h
@@ -486,6 +486,10 @@ # endif #endif +#ifdef HAVE_SODIUM +# include <sodium.h> +#endif + // ================ end of the header file puzzle =============== /*