From: Schanzenbach, Martin Date: Sun, 22 Jul 2018 16:02:48 +0000 (+0200) Subject: cleanup X-Git-Tag: v0.11.0~322^2~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=96fdc9cacc176d6269e51dbd490de568c2254bb4;p=oweals%2Fgnunet.git cleanup --- diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 876e221b5..679d8f7d9 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c @@ -984,16 +984,10 @@ get_client_name_result (void *cls, char *prefix; ticket_str = GNUNET_STRINGS_data_to_string_alloc (&handle->ticket, sizeof (struct GNUNET_RECLAIM_Ticket)); - //TODO add signature to code payload over nonce and ticket _and_ use jansson here! //TODO change if more attributes are needed (see max_age) code_json_string = build_authz_code (&handle->priv_key, &handle->ticket, handle->oidc->nonce); - /*GNUNET_asprintf (&code_json_string, "{\"ticket\":\"%s\"%s%s%s}", - ticket_str, - (NULL != handle->oidc->nonce) ? ", \"nonce\":\"" : "", - (NULL != handle->oidc->nonce) ? handle->oidc->nonce : "", - (NULL != handle->oidc->nonce) ? "\"" : "");*/ code_base64_final_string = base_64_encode(code_json_string); tmp = GNUNET_strdup (handle->oidc->redirect_uri); redirect_path = strtok (tmp, "/");