From f33f9137d4cdc492be3d845b97ac858d4ac2e14d Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Thu, 25 Oct 2018 18:13:41 +0200 Subject: [PATCH] Fix base64 encoder. Eliminating the appending of a '=' symbol in the last position of the output string. --- src/util/strings.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/strings.c b/src/util/strings.c index e3bdadd39..b7a7fcb8b 100644 --- a/src/util/strings.c +++ b/src/util/strings.c @@ -1998,7 +1998,6 @@ GNUNET_STRINGS_base64_encode (const void *in, opt[ret++] = FILLCHAR; } } - opt[ret++] = FILLCHAR; *output = opt; return ret; } -- 2.25.1