summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 14:47:48 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 14:47:48 +0200
commita0a666fb61005f3da542a146988acc44995d5b0c (patch)
treeff350019c947d55c1f207045821b8cf5209b6e4a
parentd07fba1140760a4652e0acce0ad3cfd854da984e (diff)
fix
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c
index a7a8de173..9c93b7764 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -933,7 +933,6 @@ oidc_ticket_issue_cb (void *cls, const struct GNUNET_RECLAIM_Ticket *ticket)
ticket_str =
GNUNET_STRINGS_data_to_string_alloc (&handle->ticket,
sizeof(struct GNUNET_RECLAIM_Ticket));
- // TODO change if more attributes are needed (see max_age)
code_string = OIDC_build_authz_code (&handle->priv_key,
&handle->ticket,
handle->attr_list,
@@ -1533,8 +1532,7 @@ authorize_endpoint (struct GNUNET_REST_RequestHandle *con_handle,
}
}
handle->oidc->scope = get_url_parameter_copy (handle, OIDC_SCOPE_KEY);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Scope: %s\n",GNUNET_strdup (
- handle->oidc->scope));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Scope: %s\n", handle->oidc->scope);
if (NULL == handle->tld)
GNUNET_CONFIGURATION_iterate_section_values (cfg, "gns", tld_iter, handle);
if (NULL == handle->tld)