summaryrefslogtreecommitdiff
path: root/src/core/enc_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/enc_old.c')
-rw-r--r--src/core/enc_old.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/enc_old.c b/src/core/enc_old.c
index befcd105b..081d17bb2 100644
--- a/src/core/enc_old.c
+++ b/src/core/enc_old.c
@@ -14,23 +14,6 @@
#include "module.h"
-void binary_to_hex(unsigned char *bin, char *hex, int length)
-{
- static const char trans[] = "0123456789ABCDEF";
- int i;
-
- for(i = 0; i < length; i++)
- {
- hex[i << 1] = trans[bin[i] >> 4];
- hex[(i << 1) + 1] = trans[bin[i] & 0xf];
- }
-
- hex[i << 1] = '\0';
-}
-
-
-/*************************************************************************/
-
/******** Code specific to the type of encryption. ********/