From 9280d579bcab100513ebdbbc4e5c9ebee78b2535 Mon Sep 17 00:00:00 2001 From: Mark Donnelly Date: Mon, 12 Jan 2015 10:58:08 -0500 Subject: [PATCH] Break out of processing upon GSS error being reported. The module was returning success upon GSS reporting a failure, so the normal processing needs to be aborted and an error returned. --- mod_auth_gssweb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mod_auth_gssweb.c b/mod_auth_gssweb.c index b3e8360..c4ef117 100644 --- a/mod_auth_gssweb.c +++ b/mod_auth_gssweb.c @@ -485,6 +485,7 @@ gssweb_authenticate_user(request_rec *r) "%s", get_gss_error(r, major_status, minor_status, "gssweb_authenticate_user: Failed to establish authentication")); conn_ctx->state = GSS_CTX_FAILED; + goto end; } /* If there was no token returned, clear token from context and exit */ -- 2.1.4