summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-01 23:37:39 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-01 23:37:39 +0200
commit04c9bafa7136564e3059d493dffa84a4c9b6dfb7 (patch)
tree6f000d5eca2d4494d97cb638308c7c95d471f3de /src/macros.h
parent8cd213c09a3598834888d81deb45ff17e6654a86 (diff)
downloadvim-git-04c9bafa7136564e3059d493dffa84a4c9b6dfb7.tar.gz
Made crypt/decrypt faster.
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h15
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