]> granicus.if.org Git - curl/commit
imap/pop3/smtp: Added support for SASL authentication downgrades
authorSteve Holme <steve_holme@hotmail.com>
Wed, 18 Dec 2013 20:44:20 +0000 (20:44 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 18 Dec 2013 20:45:17 +0000 (20:45 +0000)
commit48043f87b60a74af22bfe66a2db3b105a946921c
treeeda4eb3deb6bfe28b31ee2b07106c5f6e5ac6d64
parentb7b126ee416239b03f681774edb6deebb2196841
imap/pop3/smtp: Added support for SASL authentication downgrades

Added support for downgrading the SASL authentication mechanism when the
decoding of CRAM-MD5, DIGEST-MD5 and NTLM messages fails. This enhances
the previously added support for graceful cancellation by allowing the
client to retry a lesser SASL mechanism such as LOGIN or PLAIN, or even
APOP / clear text (in the case of POP3 and IMAP) when supported by the
server.
lib/imap.c
lib/pop3.c
lib/smtp.c
tests/data/test830
tests/data/test831
tests/data/test832