From 9f10e45e428ca3b30d42719cda8c7f3159c3bd15 Mon Sep 17 00:00:00 2001 From: Michael Osipov <1983-01-06@gmx.net> Date: Sun, 16 Nov 2014 09:50:06 +0000 Subject: kerberos: Use symbol qualified with _KERBEROS5 For consistency renamed USE_KRB5 to USE_KERBEROS5. --- lib/smtp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/smtp.c') diff --git a/lib/smtp.c b/lib/smtp.c index 448b040c7..5f6524357 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -1150,7 +1150,7 @@ static CURLcode smtp_state_auth_ntlm_type2msg_resp(struct connectdata *conn, } #endif -#if defined(USE_KRB5) +#if defined(USE_KERBEROS5) /* For AUTH GSSAPI (without initial response) responses */ static CURLcode smtp_state_auth_gssapi_resp(struct connectdata *conn, int smtpcode, @@ -1630,7 +1630,7 @@ static CURLcode smtp_statemach_act(struct connectdata *conn) break; #endif -#if defined(USE_KRB5) +#if defined(USE_KERBEROS5) case SMTP_AUTH_GSSAPI: result = smtp_state_auth_gssapi_resp(conn, smtpcode, smtpc->state); break; @@ -2221,7 +2221,7 @@ static CURLcode smtp_calc_sasl_details(struct connectdata *conn, /* Calculate the supported authentication mechanism, by decreasing order of security, as well as the initial response where appropriate */ -#if defined(USE_KRB5) +#if defined(USE_KERBEROS5) if((smtpc->authmechs & SASL_MECH_GSSAPI) && (smtpc->prefmech & SASL_MECH_GSSAPI)) { smtpc->mutual_auth = FALSE; /* TODO: Calculate mutual authentication */ -- cgit v1.2.1