diff options
-rw-r--r-- | src/reclaim/oidc_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c index 81688f3e0..c11079fb2 100644 --- a/src/reclaim/oidc_helper.c +++ b/src/reclaim/oidc_helper.c | |||
@@ -350,6 +350,7 @@ base64url_encode (const char *data, size_t data_size) | |||
350 | enc[pos] = '\0'; | 350 | enc[pos] = '\0'; |
351 | break; | 351 | break; |
352 | } | 352 | } |
353 | pos++; | ||
353 | } | 354 | } |
354 | return enc; | 355 | return enc; |
355 | } | 356 | } |
@@ -662,7 +663,7 @@ OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv, | |||
662 | } | 663 | } |
663 | GNUNET_free (expected_code_challenge); | 664 | GNUNET_free (expected_code_challenge); |
664 | // Ticket | 665 | // Ticket |
665 | memcpy (ticket, params->ticket, sizeof (*ticket)); | 666 | memcpy (ticket, ¶ms->ticket, sizeof (params->ticket)); |
666 | // Nonce | 667 | // Nonce |
667 | nonce = ntohl (params->nonce); //ntohl (*((uint32_t *) ptr)); | 668 | nonce = ntohl (params->nonce); //ntohl (*((uint32_t *) ptr)); |
668 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got nonce: %u\n", nonce); | 669 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got nonce: %u\n", nonce); |