From: Isaac Boukris Date: Tue, 23 Jun 2015 00:15:31 +0000 (+0300) Subject: Acquire server creds with given cred_usage rather than both X-Git-Tag: v1.3.0~5 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=commitdiff_plain;h=1f5a4e4c8d201608eb08523da1d415e87024e511 Acquire server creds with given cred_usage rather than both Reviewed-by: Simo Sorce --- diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c index 8a87745..3896649 100644 --- a/src/mod_auth_gssapi.c +++ b/src/mod_auth_gssapi.c @@ -526,7 +526,7 @@ static bool mag_auth_basic(request_rec *req, /* must acquire creds based on the actual mechs we want to try */ if (!mag_acquire_creds(req, cfg, actual_mechs, - GSS_C_BOTH, &acquired_cred, NULL)) { + cred_usage, &acquired_cred, NULL)) { goto done; }