diff options
Diffstat (limited to 'src/microhttpd/base64.c')
-rw-r--r-- | src/microhttpd/base64.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/microhttpd/base64.c b/src/microhttpd/base64.c index d14317b3..3e390b8b 100644 --- a/src/microhttpd/base64.c +++ b/src/microhttpd/base64.c | |||
@@ -26,14 +26,15 @@ static const char base64_digits[] = | |||
26 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; | 26 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; |
27 | 27 | ||
28 | 28 | ||
29 | char * | 29 | HIDDEN_SYMBOL |
30 | BASE64Decode(const char* src) | 30 | char * |
31 | BASE64Decode(const char* src) | ||
31 | { | 32 | { |
32 | size_t in_len = strlen (src); | 33 | size_t in_len = strlen (src); |
33 | char* dest; | 34 | char* dest; |
34 | char* result; | 35 | char* result; |
35 | 36 | ||
36 | if (in_len % 4) | 37 | if (in_len % 4) |
37 | { | 38 | { |
38 | /* Wrong base64 string length */ | 39 | /* Wrong base64 string length */ |
39 | return NULL; | 40 | return NULL; |