summaryrefslogtreecommitdiff
path: root/lib/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base64.c')
-rw-r--r--lib/base64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base64.c b/lib/base64.c
index b6a8e5d..07caa0a 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -58,7 +58,7 @@ size_t base64_encode_size(size_t len)
{
size_t olen;
olen = len * 4 / 3 + 4; /* 3-byte blocks to 4-byte */
- olen += olen / 72; /* line feeds */
+ // olen += olen / 72; /* line feeds */
olen++; /* nul termination */
Assert(olen >= len);
return olen;
@@ -85,7 +85,7 @@ void base64_encode(const unsigned char *src, size_t len,
in += 3;
line_len += 4;
if (line_len >= 72) {
- *pos++ = '\n';
+ // *pos++ = '\n';
line_len = 0;
}
}