summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-05-17 13:47:40 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-05-17 13:47:40 +0200
commit523739685f22709fd611d7d729da3d5b57c77ce7 (patch)
treee19a818132cb0c74b2e829153f560438a7e89462 /src
parent080f3893fffe623d83a2e9f2048870415b4a80bd (diff)
do not check for existing egos...
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);