summaryrefslogtreecommitdiff
path: root/imap
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-08-22 19:11:53 -0600
committerEduardo Chappa <chappa@washington.edu>2019-08-22 19:11:53 -0600
commit418e8bc5789d9ef223f043848619b6a648748dcc (patch)
treed1806c4825d7fbe31f2ff4bde96c78d2431063f1 /imap
parentc5698766d4c4f64c44ca4ab8341967389393d35d (diff)
downloadalpine-418e8bc5789d9ef223f043848619b6a648748dcc.tar.xz
* Ignore extra text in challenge from smtp server during authentication.
Diffstat (limited to 'imap')
-rw-r--r--imap/src/c-client/smtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/src/c-client/smtp.c b/imap/src/c-client/smtp.c
index d1c9a7cb..a01c87b4 100644
--- a/imap/src/c-client/smtp.c
+++ b/imap/src/c-client/smtp.c
@@ -363,6 +363,7 @@ void *smtp_challenge (void *s,unsigned long *len)
sprintf (tmp,"SMTP SERVER BUG (invalid challenge, continuing): %.80s",stream->reply+4);
mm_log (tmp,ERROR);
ret = cpystr(""); /* This is silly: fake a reply, it will be ignored */
+ *len = 0L;
}
return ret;
}