aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--imap.c2
-rw-r--r--pop3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/imap.c b/imap.c
index 9b7d9404..b29c4e28 100644
--- a/imap.c
+++ b/imap.c
@@ -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
diff --git a/pop3.c b/pop3.c
index ea3000c1..f781105d 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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) */