From 5d56dceacd2bba2ae4a07d717c18d31c9999a623 Mon Sep 17 00:00:00 2001 From: brenosilva Date: Wed, 8 Dec 2010 12:22:37 +0000 Subject: [PATCH] clean duplicate b64 reverse table --- apache2/re_tfns.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/apache2/re_tfns.c b/apache2/re_tfns.c index d1865cfb..711bd696 100644 --- a/apache2/re_tfns.c +++ b/apache2/re_tfns.c @@ -25,29 +25,6 @@ #include "re.h" #include "msc_util.h" -/* Base64 tables used in decodeBase64Ext */ - -static const char b64_pad = '='; - -static const short b64_reverse_t[256] = { - -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -1, -2, -2, -1, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, -2, -2, 63, - 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -2, -2, -2, - -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, -2, - -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2 -}; - /* lowercase */ static int msre_fn_lowercase_execute(apr_pool_t *mptmp, unsigned char *input,