summaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorMichael Osipov <1983-01-06@gmx.net>2014-11-16 09:50:06 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-16 13:29:04 +0000
commit9f10e45e428ca3b30d42719cda8c7f3159c3bd15 (patch)
treecba0430a7095ae3491519aaa0628b38390c15d2e /lib/pop3.c
parenta607f8a20c6c5ac869598753097e3da06165cbd9 (diff)
downloadcurl-9f10e45e428ca3b30d42719cda8c7f3159c3bd15.tar.gz
kerberos: Use symbol qualified with _KERBEROS5
For consistency renamed USE_KRB5 to USE_KERBEROS5.
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 03d737ef2..9c6cc8b36 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1131,7 +1131,7 @@ static CURLcode pop3_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 pop3_state_auth_gssapi_resp(struct connectdata *conn,
int pop3code,
@@ -1591,7 +1591,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
break;
#endif
-#if defined(USE_KRB5)
+#if defined(USE_KERBEROS5)
case POP3_AUTH_GSSAPI:
result = pop3_state_auth_gssapi_resp(conn, pop3code, pop3c->state);
break;
@@ -2121,7 +2121,7 @@ static CURLcode pop3_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((pop3c->authmechs & SASL_MECH_GSSAPI) &&
(pop3c->prefmech & SASL_MECH_GSSAPI)) {
pop3c->mutual_auth = FALSE; /* TODO: Calculate mutual authentication */