From 735e699708247813ae3e9926190dff35a9c8eba1 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sat, 21 Jul 2018 13:04:17 +0200 Subject: [PATCH] actually fix --- src/reclaim/jwt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (); -- 2.25.1