aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memline.h
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2014-05-07 18:04:54 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-20 08:31:06 -0300
commit85338fe1d5a56f82546e16c305c2048c081771e0 (patch)
tree1a14dcf2a4aa6c5276a4ea7802f4cbe576e9a6e3 /src/nvim/memline.h
parent32d018b57edbc75d6a70c5cd3e8012d7f924f460 (diff)
downloadrneovim-85338fe1d5a56f82546e16c305c2048c081771e0.tar.gz
rneovim-85338fe1d5a56f82546e16c305c2048c081771e0.tar.bz2
rneovim-85338fe1d5a56f82546e16c305c2048c081771e0.zip
Remove cryptography
As discussed in #694, vim encryption uses old, obsolete algorithms that are poorly implemented. Since insecure cryptography is worse than no cryptgraphy, the community voted in favor of removing all crypto. Various alternatives to the old crypto is being discussed in #701. Closes #694.
Diffstat (limited to 'src/nvim/memline.h')
-rw-r--r--src/nvim/memline.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/memline.h b/src/nvim/memline.h
index 99f2638e72..704a98b20e 100644
--- a/src/nvim/memline.h
+++ b/src/nvim/memline.h
@@ -5,7 +5,6 @@
#include "nvim/func_attr.h"
int ml_open(buf_T *buf);
-void ml_set_crypt_key(buf_T *buf, char_u *old_key, int old_cm);
void ml_setname(buf_T *buf);
void ml_open_files(void);
void ml_open_file(buf_T *buf);
@@ -37,10 +36,6 @@ char_u *makeswapname(char_u *fname, char_u *ffname, buf_T *buf,
char_u *dir_name);
char_u *get_file_in_dir(char_u *fname, char_u *dname);
void ml_setflags(buf_T *buf);
-char_u *ml_encrypt_data(memfile_T *mfp, char_u *data, off_t offset,
- unsigned size) FUNC_ATTR_NONNULL_RET;
-void ml_decrypt_data(memfile_T *mfp, char_u *data, off_t offset,
- unsigned size);
long ml_find_line_or_offset(buf_T *buf, linenr_T lnum, long *offp);
void goto_byte(long cnt);