gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: Fix base64 encoder.


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Fix base64 encoder.
Date: Thu, 25 Oct 2018 18:15:44 +0200

This is an automated email from the git hooks/post-receive script.

marcello-stanisci pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new f33f9137d Fix base64 encoder.
f33f9137d is described below

commit f33f9137d4cdc492be3d845b97ac858d4ac2e14d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Oct 25 18:13:41 2018 +0200

    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;
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]