aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-02-08 09:56:45 +0800
committerDan Winship <danw@src.gnome.org>2002-02-08 09:56:45 +0800
commit92d7dbf6cea9dc43bd55e353c9b38315791a6317 (patch)
tree60118f9982e4b084d7e14ae74cfa76c0f155f962 /camel/providers
parente02a62282c0227dc50938cff9dbe28be8fed1cab (diff)
downloadgsoc2013-evolution-92d7dbf6cea9dc43bd55e353c9b38315791a6317.tar
gsoc2013-evolution-92d7dbf6cea9dc43bd55e353c9b38315791a6317.tar.gz
gsoc2013-evolution-92d7dbf6cea9dc43bd55e353c9b38315791a6317.tar.bz2
gsoc2013-evolution-92d7dbf6cea9dc43bd55e353c9b38315791a6317.tar.lz
gsoc2013-evolution-92d7dbf6cea9dc43bd55e353c9b38315791a6317.tar.xz
gsoc2013-evolution-92d7dbf6cea9dc43bd55e353c9b38315791a6317.tar.zst
gsoc2013-evolution-92d7dbf6cea9dc43bd55e353c9b38315791a6317.zip
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
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 1 insertions, 1 deletions
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;