gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: REST: remove base64 padding


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: REST: remove base64 padding fix as this is now fixed in encoder
Date: Fri, 26 Oct 2018 02:17:09 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 2897ea16a REST: remove base64 padding fix as this is now fixed in 
encoder
2897ea16a is described below

commit 2897ea16a77d8c0d47a2564703fb4759a8f3f45f
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri Oct 26 09:17:00 2018 +0900

    REST: remove base64 padding fix as this is now fixed in encoder
---
 src/rest-plugins/oidc_helper.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/rest-plugins/oidc_helper.c b/src/rest-plugins/oidc_helper.c
index 1e9e64fec..539d59e08 100644
--- a/src/rest-plugins/oidc_helper.c
+++ b/src/rest-plugins/oidc_helper.c
@@ -57,12 +57,6 @@ replace_char(char* str, char find, char replace){
 //RFC4648
 static void
 fix_base64(char* str) {
-  char *padding;
-  //First, remove trailing padding '='
-  padding = strtok(str, "=");
-  while (NULL != padding)
-    padding = strtok(NULL, "=");
-
   //Replace + with -
   replace_char (str, '+', '-');
 

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



reply via email to

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