diff options
author | xrs <xrs@mail36.net> | 2018-11-03 12:46:25 +0100 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2018-11-03 12:46:25 +0100 |
commit | cf4870390de2ff9ef4befc12aeb67aba538af385 (patch) | |
tree | db33bd658a80aa674ea3386fd5877cda66607b23 /src/rest-plugins/oidc_helper.c | |
parent | 2770964bdd8f33c081e3b22c7295e7949e525188 (diff) | |
parent | 30ecc23f94aff98f1cfde23a82b455693f8aec15 (diff) | |
download | gnunet-cf4870390de2ff9ef4befc12aeb67aba538af385.tar.gz gnunet-cf4870390de2ff9ef4befc12aeb67aba538af385.zip |
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/rest-plugins/oidc_helper.c')
-rw-r--r-- | src/rest-plugins/oidc_helper.c | 6 |
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 |
58 | static void | 58 | static void |
59 | fix_base64(char* str) { | 59 | fix_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 | ||