]> granicus.if.org Git - curl/commit
imap: Fixed incorrect fallback to clear text authentication
authorSteve Holme <steve_holme@hotmail.com>
Fri, 13 Dec 2013 22:57:13 +0000 (22:57 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 13 Dec 2013 23:15:43 +0000 (23:15 +0000)
commit75cd7fd66762bbfb73830553c8229aa0182f8987
tree128bfa338892f63cd9fc2b4efbd889516a36549e
parent7246dffff5c7d046c7558ca6bf35781a2fe58ee9
imap: Fixed incorrect fallback to clear text authentication

If a specific SASL authentication mechanism was requested by the user
as part of the login options but wasn't supported by the server then
curl would fallback to clear text, when it shouldn't, rather than
reporting "No known authentication mechanisms supported" as the POP3
and SMTP protocols do.
lib/imap.c
lib/imap.h