summaryrefslogtreecommitdiff
path: root/imap/src/c-client/pop3.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-05-11 23:22:27 -0600
committerEduardo Chappa <chappa@washington.edu>2020-05-11 23:22:27 -0600
commit094812e001c4e78ecc9ff69be6f6e4fe0448c3fd (patch)
tree409dda1e236d86132fcca6abb6abba244c28e270 /imap/src/c-client/pop3.c
parentc0431b87ab14cf4bd501b33353f90db51bdafd73 (diff)
downloadalpine-094812e001c4e78ecc9ff69be6f6e4fe0448c3fd.tar.xz
* When using single trip authenticators, still report we used them,
even though we do not report the full command used.
Diffstat (limited to 'imap/src/c-client/pop3.c')
-rw-r--r--imap/src/c-client/pop3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/c-client/pop3.c b/imap/src/c-client/pop3.c
index b93ef8fb..6f69a400 100644
--- a/imap/src/c-client/pop3.c
+++ b/imap/src/c-client/pop3.c
@@ -641,6 +641,8 @@ long pop3_auth (MAILSTREAM *stream,NETMBX *mb,char *pwd,char *usr)
} else base = NIL;
LOCAL->saslcancel = NIL;
if ((at->flags & AU_SINGLE) || pop3_send (stream,"AUTH",at->name)) {
+ /* record that we are trying this authentication */
+ if ((at->flags & AU_SINGLE) && stream && stream->debug) mm_dlog(base);
/* hide client authentication responses */
if (!(at->flags & AU_SECURE)) LOCAL->sensitive = T;
if ((*at->client) (pop3_challenge,pop3_response,base,"pop",mb,stream,