From 92d7dbf6cea9dc43bd55e353c9b38315791a6317 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 8 Feb 2002 01:56:45 +0000 Subject: Implementation of NTLM (aka "Secure Password Authentication") auth, taken * camel-sasl-ntlm.c: Implementation of NTLM (aka "Secure Password Authentication") auth, taken from soup. * Makefile.am (libcamel_la_SOURCES, libcamel_la_HEADERS): Add camel-sasl-ntlm. * camel-sasl.c: Add refs to camel-sasl-ntlm. * providers/imap/camel-imap-store.c (try_auth): Use imap_next_word() to skip over the "+ " of the continuation rather than just "resp + 2" since Exchange (incorrectly) returns "+" instead of "+ " for an empty continuation response. svn path=/trunk/; revision=15605 --- camel/providers/imap/camel-imap-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers') diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index a1a8daa3c1..4b3855e73f 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -459,7 +459,7 @@ try_auth (CamelImapStore *store, const char *mech, CamelException *ex) if (!resp) goto lose; - sasl_resp = camel_sasl_challenge_base64 (sasl, resp + 2, ex); + sasl_resp = camel_sasl_challenge_base64 (sasl, imap_next_word (resp), ex); g_free (resp); if (camel_exception_is_set (ex)) goto break_and_lose; -- cgit v1.2.3