From 8e9283304a3cdcdaec6be207e60b172642af5a17 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Mon, 26 Nov 2018 19:34:07 +0100 Subject: REST: Fix oidc client lookup --- src/rest-plugins/plugin_rest_openid_connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3