aboutsummaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2014-04-03 13:09:07 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-05 10:10:08 -0300
commitade0c127e56ff248039c60c3b29abcac24be1949 (patch)
tree9e3fa8d17b76f37a75fb89f6b5ee34cbd87309ee /src/memline.c
parent26206d4cfddb0375b14c47ccf94c480a886f29a1 (diff)
downloadrneovim-ade0c127e56ff248039c60c3b29abcac24be1949.tar.gz
rneovim-ade0c127e56ff248039c60c3b29abcac24be1949.tar.bz2
rneovim-ade0c127e56ff248039c60c3b29abcac24be1949.zip
vim-patch:7.4.172
Problem: The blowfish code mentions output feedback, but the code is actually doing cipher feedback. Solution: Adjust names and comments. https://code.google.com/p/vim/source/detail?r=391e10afccf6879dcfab8b28cb1587a13eb835c0
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index 36168fac5e..01fa71a985 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -4279,7 +4279,7 @@ static void ml_crypt_prepare(memfile_T *mfp, off_t offset, int reading)
* block for the salt. */
vim_snprintf((char *)salt, sizeof(salt), "%ld", (long)offset);
bf_key_init(key, salt, (int)STRLEN(salt));
- bf_ofb_init(seed, MF_SEED_LEN);
+ bf_cfb_init(seed, MF_SEED_LEN);
}
}