do not check for existing egos...
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Fri, 17 May 2019 11:47:40 +0000 (13:47 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Fri, 17 May 2019 11:47:40 +0000 (13:47 +0200)
src/reclaim/plugin_rest_openid_connect.c

index 753c3fcae82723352217a14f24a2b0ad8e865a4f..a29d71c0121e20a048a4f5e0e3045d663e853da8 100644 (file)
@@ -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);