diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-19 23:23:31 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-19 23:23:31 +0000 |
commit | d3b2d4c5a4eab070d06f60f2c42011ec4ffc4568 (patch) | |
tree | 1633c6761ead367f39413ff51779cae3c4f1d814 /src/core/enc_old.c | |
parent | ba20023fb40269dc1bf7dc220899becc1f07d91c (diff) |
Remove duplicated copy of binary_to_hex()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1760 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/enc_old.c')
-rw-r--r-- | src/core/enc_old.c | 17 |
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. ********/ |