aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/oidc_helper.h
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-27 21:01:13 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-27 21:01:13 +0200
commitf7e0dfea0966f0ae9a4185206885d3a61895b759 (patch)
treeeeeba47f96972b3e619cd038f488f0639062977d /src/reclaim/oidc_helper.h
parent7f50a089e5308bc7691704683dea805258f6c0b2 (diff)
downloadgnunet-f7e0dfea0966f0ae9a4185206885d3a61895b759.tar.gz
gnunet-f7e0dfea0966f0ae9a4185206885d3a61895b759.zip
RECLAIM/OIDC: encrypt authorizaion code payload
Diffstat (limited to 'src/reclaim/oidc_helper.h')
-rw-r--r--src/reclaim/oidc_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reclaim/oidc_helper.h b/src/reclaim/oidc_helper.h
index 3c57dc235..6fe1721d3 100644
--- a/src/reclaim/oidc_helper.h
+++ b/src/reclaim/oidc_helper.h
@@ -77,7 +77,7 @@ OIDC_build_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *issuer,
77 * authorization code. 77 * authorization code.
78 * This also verifies the signature in the code. 78 * This also verifies the signature in the code.
79 * 79 *
80 * @param audience the expected audience of the code 80 * @param ecdsa_priv the audience of the ticket
81 * @param code the string representation of the code 81 * @param code the string representation of the code
82 * @param ticket where to store the ticket 82 * @param ticket where to store the ticket
83 * @param attrs the attributes found in the code 83 * @param attrs the attributes found in the code
@@ -85,7 +85,7 @@ OIDC_build_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *issuer,
85 * @return GNUNET_OK if successful, else GNUNET_SYSERR 85 * @return GNUNET_OK if successful, else GNUNET_SYSERR
86 */ 86 */
87int 87int
88OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPublicKey *audience, 88OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv,
89 const char* code, 89 const char* code,
90 struct GNUNET_RECLAIM_Ticket *ticket, 90 struct GNUNET_RECLAIM_Ticket *ticket,
91 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList **attrs, 91 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList **attrs,