aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/base64.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-24 11:28:30 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-24 11:28:30 +0000
commita372d23b4ee68d578a7482f6b2b17018bbe53b5e (patch)
treed9c30d3a78b74a689a51a66c33e20b22a62e2606 /src/microhttpd/base64.c
parent324e9852db193ead4a319fc4099baf2b0b8c456d (diff)
downloadlibmicrohttpd-a372d23b4ee68d578a7482f6b2b17018bbe53b5e.tar.gz
libmicrohttpd-a372d23b4ee68d578a7482f6b2b17018bbe53b5e.zip
-hide symbols
Diffstat (limited to 'src/microhttpd/base64.c')
-rw-r--r--src/microhttpd/base64.c9
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
29char * 29HIDDEN_SYMBOL
30BASE64Decode(const char* src) 30char *
31BASE64Decode(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;