aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2018-10-26 09:17:00 +0900
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2018-10-26 09:17:00 +0900
commit2897ea16a77d8c0d47a2564703fb4759a8f3f45f (patch)
treef8aefcba2051eeaa04890148f05ed522d6993ca7 /src
parentf33f9137d4cdc492be3d845b97ac858d4ac2e14d (diff)
downloadgnunet-2897ea16a77d8c0d47a2564703fb4759a8f3f45f.tar.gz
gnunet-2897ea16a77d8c0d47a2564703fb4759a8f3f45f.zip
REST: remove base64 padding fix as this is now fixed in encoder
Diffstat (limited to 'src')
-rw-r--r--src/rest-plugins/oidc_helper.c6
1 files changed, 0 insertions, 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){
57//RFC4648 57//RFC4648
58static void 58static void
59fix_base64(char* str) { 59fix_base64(char* str) {
60 char *padding;
61 //First, remove trailing padding '='
62 padding = strtok(str, "=");
63 while (NULL != padding)
64 padding = strtok(NULL, "=");
65
66 //Replace + with - 60 //Replace + with -
67 replace_char (str, '+', '-'); 61 replace_char (str, '+', '-');
68 62