forked from aniani/vim
patch 9.0.1669: Crash syncing swapfile in new buffer when using sodium crypt
Problem: Crash syncing swapfile in new buffer when using sodium crypt.
(James McCoy)
Solution: Add checks for sodium encryption. (Christian Brabandt,
closes #12591, closes #12585)
This commit is contained in:
committed by
Bram Moolenaar
parent
0256d76a33
commit
19e6c4fd2d
@@ -26,6 +26,7 @@ void crypt_check_swapfile_curbuf(void);
|
||||
void crypt_check_current_method(void);
|
||||
char_u *crypt_get_key(int store, int twice);
|
||||
void crypt_append_msg(buf_T *buf);
|
||||
void crypt_sodium_lock_key(char_u *key);
|
||||
int crypt_sodium_munlock(void *const addr, const size_t len);
|
||||
void crypt_sodium_randombytes_buf(void *const buf, const size_t size);
|
||||
int crypt_sodium_init(void);
|
||||
|
||||
Reference in New Issue
Block a user