aboutsummaryrefslogtreecommitdiff
path: root/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'base64.c')
-rw-r--r--base64.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/base64.c b/base64.c
index 7a25808..0a40354 100644
--- a/base64.c
+++ b/base64.c
@@ -6,28 +6,6 @@
#include "base64.h"
-#if 0
-static const char hextab[] = "0123456789ABCDEF";
-
-void print_hexstr(unsigned char *buf, size_t siz) {
- char *out = (char *) calloc(3, siz+1);
- unsigned char high, low;
-
- for (size_t i = 0; i < siz; ++i) {
- high = (buf[i] & 0xF0) >> 4;
- low = buf[i] & 0x0F;
-
- out[i ] = hextab[high];
- out[i+1] = hextab[low];
- out[i+2] = ' ';
- }
-
- printf("%s\n", out);
- free(out);
-}
-#endif
-
-
static void build_decoding_table(void);
static char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',