diff options
author | Isaac Boukris <iboukris@gmail.com> | 2015-06-23 03:15:31 +0300 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-06-23 16:56:49 -0400 |
commit | 1f5a4e4c8d201608eb08523da1d415e87024e511 (patch) | |
tree | 199fdc037362c767f2a5fa1c06861b7692832123 | |
parent | 66d6bdf31f897f460bae7b9d919b3f02b48e7ef1 (diff) | |
download | mod_auth_gssapi-1f5a4e4c8d201608eb08523da1d415e87024e511.tar.gz mod_auth_gssapi-1f5a4e4c8d201608eb08523da1d415e87024e511.tar.xz mod_auth_gssapi-1f5a4e4c8d201608eb08523da1d415e87024e511.zip |
Acquire server creds with given cred_usage rather than both
Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | src/mod_auth_gssapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |