diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-01 23:37:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-01 23:37:39 +0200 |
commit | 04c9bafa7136564e3059d493dffa84a4c9b6dfb7 (patch) | |
tree | 6f000d5eca2d4494d97cb638308c7c95d471f3de /src/macros.h | |
parent | 8cd213c09a3598834888d81deb45ff17e6654a86 (diff) | |
download | vim-git-04c9bafa7136564e3059d493dffa84a4c9b6dfb7.tar.gz |
Made crypt/decrypt faster.
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/macros.h b/src/macros.h index 51e4dd423..7fc5df0ce 100644 --- a/src/macros.h +++ b/src/macros.h @@ -227,21 +227,6 @@ # endif #endif -/* - * Encryption macros. Mohsin Ahmed, mosh@sasi.com 98-09-24 - * Based on zip/crypt sources. - */ - -#ifdef FEAT_CRYPT - -/* encode byte c, using temp t. Warning: c must not have side effects. */ -# define ZENCODE(c, t) (t = decrypt_byte(), update_keys(c), t^(c)) - -/* decode byte c in place */ -# define ZDECODE(c) update_keys(c ^= decrypt_byte()) - -#endif - #ifdef STARTUPTIME # define TIME_MSG(s) { if (time_fd != NULL) time_msg(s, NULL); } #else |