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/errors.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/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 40925f89e6..164aafd2a5 100644 --- a/src/errors.h +++ b/src/errors.h @@ -641,3 +641,5 @@ EXTERN char e_list_or_dict_or_blob_required_for_argument_nr[] INIT(= N_("E1228: List or Dictionary or Blob required for argument %d")); EXTERN char e_expected_dictionary_for_using_key_str_but_got_str[] INIT(= N_("E1229: Expected dictionary for using key \"%s\", but got %s")); +EXTERN char e_encryption_sodium_mlock_failed[] + INIT(= N_("E1230: encryption: sodium_mlock() failed")); |