]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1583: get E304 when using 'cryptmethod' "xchacha20v2" v9.0.1583
authorBram Moolenaar <Bram@vim.org>
Sat, 27 May 2023 17:02:55 +0000 (18:02 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 27 May 2023 17:02:55 +0000 (18:02 +0100)
commit3a2a60ce4a8e73594bca16814672fcc243d093ac
tree4a105c50b7f3a3e219e49bd73f5f4730d90bcefd
parenta40c0bcc83c32da02869f59b10538d6327df61c5
patch 9.0.1583: get E304 when using 'cryptmethod' "xchacha20v2"

Problem:    Get E304 when using 'cryptmethod' "xchacha20v2". (Steve Mynott)
Solution:   Add 4th crypt method to block zero ID check.  Avoid syncing a swap
            file before reading the file. (closes #12433)
src/buffer.c
src/crypt.c
src/fileio.c
src/memfile.c
src/memline.c
src/proto/crypt.pro
src/structs.h
src/testdir/test_crypt.vim
src/version.c