actually fix
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Sat, 21 Jul 2018 11:04:17 +0000 (13:04 +0200)
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Sat, 21 Jul 2018 11:04:17 +0000 (13:04 +0200)
src/reclaim/jwt.c

index 041498fb2dc3ce9cbc894082032f418130347410..94db19b145c0165e23feddc17e1937c3d472ea7c 100644 (file)
@@ -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 ();