From 523739685f22709fd611d7d729da3d5b57c77ce7 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Fri, 17 May 2019 13:47:40 +0200 Subject: do not check for existing egos... --- src/reclaim/plugin_rest_openid_connect.c | 9 --------- 1 file changed, 9 deletions(-) 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); -- cgit v1.2.3