diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-07 19:59:32 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-07 19:59:32 +0000 |
commit | 0856b2d7942377a48ef339c082e7d7ca796eb8bd (patch) | |
tree | 425ee55916c2c1019576ab5c92df12431892423b | |
parent | 958404d828fd3494a359ac206cd3e93645e69975 (diff) | |
download | fetchmail-0856b2d7942377a48ef339c082e7d7ca796eb8bd.tar.gz fetchmail-0856b2d7942377a48ef339c082e7d7ca796eb8bd.tar.bz2 fetchmail-0856b2d7942377a48ef339c082e7d7ca796eb8bd.zip |
Enable GSSAPI.
svn path=/trunk/; revision=3215
-rw-r--r-- | imap.c | 2 | ||||
-rw-r--r-- | pop3.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -295,7 +295,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting) if ((ctl->server.authenticate == A_ANY || ctl->server.authenticate==A_GSSAPI) && strstr(capabilities, "AUTH=GSSAPI")) - return(do_gssauth(sock, ctl->server.truename, ctl->remotename)); + return(do_gssauth(sock, "AUTHENTICATE", ctl->server.truename, ctl->remotename)); #endif /* GSSAPI */ #ifdef KERBEROS_V4 @@ -263,7 +263,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) return(do_rfc1731(sock, "AUTH", ctl->server.truename)); #endif /* defined(KERBEROS_V4) || defined(KERBEROS_V5) */ #if defined(GSSAPI) - if (ctl->server.authenticate==A_GSSAPI)) + if (ctl->server.authenticate==A_GSSAPI) return(do_gssauth(sock, "AUTH", ctl->server.truename, ctl->remotename)); #endif /* defined(GSSAPI) */ |