diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-19 20:31:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-19 20:31:30 +0000 |
commit | ea8294a37ef78608fc3b50c8363e64d93d2d491d (patch) | |
tree | 19f356e39db49f1a658cd7f1fc797c439ced55de /pop3.c | |
parent | 665f79a142fb8db222aa6c6634173c25b2829d68 (diff) | |
download | fetchmail-ea8294a37ef78608fc3b50c8363e64d93d2d491d.tar.gz fetchmail-ea8294a37ef78608fc3b50c8363e64d93d2d491d.tar.bz2 fetchmail-ea8294a37ef78608fc3b50c8363e64d93d2d491d.zip |
preauth -> auth.
svn path=/trunk/; revision=3121
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -206,7 +206,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) * These authentication methods are blessed by RFC1734, * describing the POP3 AUTHentication command. */ - if (ctl->server.preauthenticate == A_ANY + if (ctl->server.authenticate == A_ANY && strchr(greeting, '<') && gen_transact(sock, "CAPA") == 0) { @@ -244,16 +244,16 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) } #if defined(GSSAPI) - if ((ctl->server.preauthenticate == A_ANY - || ctl->server.preauthenticate==A_GSSAPI) + if ((ctl->server.authenticate == A_ANY + || ctl->server.authenticate==A_GSSAPI) && has_gssapi) return(do_gssauth(sock, "AUTH", ctl->server.truename, ctl->remotename)); #endif /* defined(GSSAPI) */ #if defined(KERBEROS_V4) || defined(KERBEROS_V5) - if ((ctl->server.preauthenticate == A_ANY - || ctl->server.preauthenticate==A_KERBEROS_V4 - || ctl->server.preauthenticate==A_KERBEROS_V5) + if ((ctl->server.authenticate == A_ANY + || ctl->server.authenticate==A_KERBEROS_V4 + || ctl->server.authenticate==A_KERBEROS_V5) && has_kerberos) return(do_rfc1731(sock, "AUTH", ctl->server.truename)); #endif /* defined(KERBEROS_V4) || defined(KERBEROS_V5) */ |