diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-24 11:28:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-24 11:28:30 +0000 |
commit | a372d23b4ee68d578a7482f6b2b17018bbe53b5e (patch) | |
tree | d9c30d3a78b74a689a51a66c33e20b22a62e2606 /src/microhttpd/base64.c | |
parent | 324e9852db193ead4a319fc4099baf2b0b8c456d (diff) | |
download | libmicrohttpd-a372d23b4ee68d578a7482f6b2b17018bbe53b5e.tar.gz libmicrohttpd-a372d23b4ee68d578a7482f6b2b17018bbe53b5e.zip |
-hide symbols
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; |