From: Schanzenbach, Martin Date: Fri, 17 May 2019 11:47:40 +0000 (+0200) Subject: do not check for existing egos... X-Git-Tag: v0.11.5~61 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=523739685f22709fd611d7d729da3d5b57c77ce7;p=oweals%2Fgnunet.git do not check for existing egos... --- diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 753c3fcae..a29d71c01 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c @@ -1381,15 +1381,6 @@ authorize_endpoint (struct GNUNET_REST_RequestHandle *con_handle, return; } - if (NULL == handle->ego_head) - { - handle->emsg = GNUNET_strdup (OIDC_ERROR_KEY_SERVER_ERROR); - handle->edesc = GNUNET_strdup ("Egos are missing"); - handle->response_code = MHD_HTTP_INTERNAL_SERVER_ERROR; - GNUNET_SCHEDULER_add_now (&do_error, handle); - return; - } - handle->ego_entry = handle->ego_head; handle->priv_key = *GNUNET_IDENTITY_ego_get_private_key (handle->ego_head->ego);