diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2020-12-25 21:37:28 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2020-12-25 21:37:28 +0900 |
commit | 1e37e8edc0c23674df6c2144e3f2d83e3dbc1bc2 (patch) | |
tree | 52c42a8155537045c1c7557bf13853b711a1cb64 /src/reclaim/oidc_helper.c | |
parent | debba1a49a46ba963553da222ade563d6d67932b (diff) | |
download | gnunet-1e37e8edc0c23674df6c2144e3f2d83e3dbc1bc2.tar.gz gnunet-1e37e8edc0c23674df6c2144e3f2d83e3dbc1bc2.zip |
fix error in presentation handling
Diffstat (limited to 'src/reclaim/oidc_helper.c')
-rw-r--r-- | src/reclaim/oidc_helper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c index a90d02d68..041a2fe47 100644 --- a/src/reclaim/oidc_helper.c +++ b/src/reclaim/oidc_helper.c | |||
@@ -202,11 +202,15 @@ generate_userinfo_json (const struct GNUNET_IDENTITY_PublicKey *sub_key, | |||
202 | GNUNET_asprintf (&source_name, | 202 | GNUNET_asprintf (&source_name, |
203 | "src%d", | 203 | "src%d", |
204 | i); | 204 | i); |
205 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
206 | "Adding new presentation source #%d\n", i); | ||
205 | aggr_sources_jwt = json_object (); | 207 | aggr_sources_jwt = json_object (); |
206 | pres_val_str = | 208 | pres_val_str = |
207 | GNUNET_RECLAIM_presentation_value_to_string (ple->presentation->type, | 209 | GNUNET_RECLAIM_presentation_value_to_string (ple->presentation->type, |
208 | ple->presentation->data, | 210 | ple->presentation->data, |
209 | ple->presentation->data_size); | 211 | ple->presentation->data_size); |
212 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
213 | "Presentation is: %s\n", pres_val_str); | ||
210 | json_object_set_new (aggr_sources_jwt, | 214 | json_object_set_new (aggr_sources_jwt, |
211 | GNUNET_RECLAIM_presentation_number_to_typename ( | 215 | GNUNET_RECLAIM_presentation_number_to_typename ( |
212 | ple->presentation->type), | 216 | ple->presentation->type), |