diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-21 13:02:18 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-21 13:02:18 +0200 |
commit | 7726b15977bacfc05a7f9321d3b595b04762d30a (patch) | |
tree | be2dd3bccd895fac958f1786288a5735f7dd2444 /src | |
parent | 8b3dd615a1c7501e19e6d6733c6ada71eb2eadb4 (diff) | |
download | gnunet-7726b15977bacfc05a7f9321d3b595b04762d30a.tar.gz gnunet-7726b15977bacfc05a7f9321d3b595b04762d30a.zip |
fix
Diffstat (limited to 'src')
-rw-r--r-- | src/reclaim/jwt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reclaim/jwt.c b/src/reclaim/jwt.c index cb1213dad..041498fb2 100644 --- a/src/reclaim/jwt.c +++ b/src/reclaim/jwt.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #define JWT_TYP_VALUE "jwt" | 38 | #define JWT_TYP_VALUE "jwt" |
39 | 39 | ||
40 | #define SERVER_ADDRESS "https://reclaim.id/api/openid/userinfo" | 40 | #define SERVER_ADDRESS "https://reclaim.id" |
41 | 41 | ||
42 | static char* | 42 | static char* |
43 | create_jwt_header(void) | 43 | create_jwt_header(void) |
@@ -123,7 +123,7 @@ jwt_create_from_list (const struct GNUNET_CRYPTO_EcdsaPublicKey *aud_key, | |||
123 | // OPTIONAL acr,amr,azp | 123 | // OPTIONAL acr,amr,azp |
124 | subject = GNUNET_STRINGS_data_to_string_alloc (&sub_key, | 124 | subject = GNUNET_STRINGS_data_to_string_alloc (&sub_key, |
125 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); | 125 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); |
126 | audience = GNUNET_STRINGS_data_to_string_alloc (aud_key, | 126 | audience = GNUNET_STRINGS_data_to_string_alloc (&aud_key, |
127 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); | 127 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); |
128 | header = create_jwt_header (); | 128 | header = create_jwt_header (); |
129 | body = json_object (); | 129 | body = json_object (); |