From: Schanzenbach, Martin Date: Mon, 26 Nov 2018 18:34:07 +0000 (+0100) Subject: REST: Fix oidc client lookup X-Git-Tag: v0.11.0~207 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8e9283304a3cdcdaec6be207e60b172642af5a17;p=oweals%2Fgnunet.git REST: Fix oidc client lookup --- diff --git a/src/rest-plugins/plugin_rest_openid_connect.c b/src/rest-plugins/plugin_rest_openid_connect.c index 2e68b7f99..3a0106c10 100644 --- a/src/rest-plugins/plugin_rest_openid_connect.c +++ b/src/rest-plugins/plugin_rest_openid_connect.c @@ -1492,7 +1492,7 @@ check_authorization (struct RequestHandle *handle, } //check client_id - for (handle->ego_entry = handle->ego_head; NULL != handle->ego_entry->next; ) + for (handle->ego_entry = handle->ego_head; NULL != handle->ego_entry; ) { if ( 0 == strcmp(handle->ego_entry->keystring, client_id)) {