aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reclaim/oidc_helper.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c
index e686a67a1..9878506e8 100644
--- a/src/reclaim/oidc_helper.c
+++ b/src/reclaim/oidc_helper.c
@@ -570,8 +570,8 @@ OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv,
570 struct GNUNET_CRYPTO_EcdsaSignature *signature; 570 struct GNUNET_CRYPTO_EcdsaSignature *signature;
571 struct GNUNET_CRYPTO_EcdsaPublicKey ecdsa_pub; 571 struct GNUNET_CRYPTO_EcdsaPublicKey ecdsa_pub;
572 struct GNUNET_CRYPTO_EcdhePublicKey *ecdh_pub; 572 struct GNUNET_CRYPTO_EcdhePublicKey *ecdh_pub;
573 size_t code_challenge_len; 573 uint32_t code_challenge_len;
574 size_t attrs_ser_len; 574 uint32_t attrs_ser_len;
575 size_t plaintext_len; 575 size_t plaintext_len;
576 size_t code_payload_len; 576 size_t code_payload_len;
577 uint32_t nonce = 0; 577 uint32_t nonce = 0;
@@ -624,7 +624,9 @@ OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv,
624 (0 != 624 (0 !=
625 strncmp (expected_code_challenge, code_challenge, code_challenge_len))) 625 strncmp (expected_code_challenge, code_challenge, code_challenge_len)))
626 { 626 {
627 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid code verifier\n"); 627 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
628 "Invalid code verifier! Expected: %s, Got: %.*s\n",
629 expected_code_challenge, code_challenge_len, code_challenge);
628 GNUNET_free_non_null (code_payload); 630 GNUNET_free_non_null (code_payload);
629 GNUNET_free (expected_code_challenge); 631 GNUNET_free (expected_code_challenge);
630 return GNUNET_SYSERR; 632 return GNUNET_SYSERR;