summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c9
1 files changed, 0 insertions, 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);