From 1500468f62b0963974f1ba42a6ecf9c9be4381f4 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 14 Mar 2010 03:47:34 +0200 Subject: [PATCH] auth: Compile fix for gssapi. --HG-- branch : HEAD --- src/auth/mech-gssapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/auth/mech-gssapi.c b/src/auth/mech-gssapi.c index 7cab58862e..97f0727535 100644 --- a/src/auth/mech-gssapi.c +++ b/src/auth/mech-gssapi.c @@ -99,9 +99,9 @@ static void mech_gssapi_log_error(struct auth_request *request, } while (message_context != 0); } -static void mech_gssapi_initialize(struct auth *auth) +static void mech_gssapi_initialize(const struct auth_settings *set) { - const char *path = auth->set->krb5_keytab; + const char *path = set->krb5_keytab; if (*path != '\0') { /* environment may be used by Kerberos 5 library directly */ @@ -140,7 +140,7 @@ obtain_service_credentials(struct auth_request *request, gss_cred_id_t *ret_r) if (!gssapi_initialized) { gssapi_initialized = TRUE; - mech_gssapi_initialize(request->auth); + mech_gssapi_initialize(request->set); } if (strcmp(request->set->gssapi_hostname, "$ALL") == 0) { -- 2.47.3