diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-10-25 18:13:41 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-10-25 18:13:41 +0200 |
commit | f33f9137d4cdc492be3d845b97ac858d4ac2e14d (patch) | |
tree | 463367f1937ce7c5a90d8c6cd932ace3c127cfa8 | |
parent | 38ac87a5d3f47a431b33ca57dc19d602238ad6d2 (diff) |
Fix base64 encoder.
Eliminating the appending of a '=' symbol in the
last position of the output string.
-rw-r--r-- | src/util/strings.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |