From: Schanzenbach, Martin Date: Sat, 21 Jul 2018 11:04:17 +0000 (+0200) Subject: actually fix X-Git-Tag: v0.11.0~322^2~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=735e699708247813ae3e9926190dff35a9c8eba1;p=oweals%2Fgnunet.git actually fix --- diff --git a/src/reclaim/jwt.c b/src/reclaim/jwt.c index 041498fb2..94db19b14 100644 --- a/src/reclaim/jwt.c +++ b/src/reclaim/jwt.c @@ -121,9 +121,9 @@ jwt_create_from_list (const struct GNUNET_CRYPTO_EcdsaPublicKey *aud_key, //auth_time only if max_age //nonce only if nonce // OPTIONAL acr,amr,azp - subject = GNUNET_STRINGS_data_to_string_alloc (&sub_key, + subject = GNUNET_STRINGS_data_to_string_alloc (sub_key, sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); - audience = GNUNET_STRINGS_data_to_string_alloc (&aud_key, + audience = GNUNET_STRINGS_data_to_string_alloc (aud_key, sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); header = create_jwt_header (); body = json_object ();