aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/oidc_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/oidc_helper.c')
-rw-r--r--src/reclaim/oidc_helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c
index e309ed01d..ad2839200 100644
--- a/src/reclaim/oidc_helper.c
+++ b/src/reclaim/oidc_helper.c
@@ -616,7 +616,7 @@ OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv,
616 + sizeof(struct GNUNET_CRYPTO_EcdsaSignature)) 616 + sizeof(struct GNUNET_CRYPTO_EcdsaSignature))
617 { 617 {
618 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Authorization code malformed\n"); 618 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Authorization code malformed\n");
619 GNUNET_free_non_null (code_payload); 619 GNUNET_free (code_payload);
620 return GNUNET_SYSERR; 620 return GNUNET_SYSERR;
621 } 621 }
622 622
@@ -646,7 +646,7 @@ OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv,
646 { 646 {
647 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 647 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
648 "Expected code verifier!\n"); 648 "Expected code verifier!\n");
649 GNUNET_free_non_null (code_payload); 649 GNUNET_free (code_payload);
650 return GNUNET_SYSERR; 650 return GNUNET_SYSERR;
651 } 651 }
652 code_verifier_hash = GNUNET_malloc (256 / 8); 652 code_verifier_hash = GNUNET_malloc (256 / 8);
@@ -669,7 +669,7 @@ OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv,
669 expected_code_challenge, 669 expected_code_challenge,
670 code_challenge_len, 670 code_challenge_len,
671 code_challenge); 671 code_challenge);
672 GNUNET_free_non_null (code_payload); 672 GNUNET_free (code_payload);
673 GNUNET_free (expected_code_challenge); 673 GNUNET_free (expected_code_challenge);
674 return GNUNET_SYSERR; 674 return GNUNET_SYSERR;
675 } 675 }