diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-01 07:24:15 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-01 07:24:15 +0800 |
commit | eb3167206c76ea6014be8bb73a63ee512f35aa7f (patch) | |
tree | 2205a4cd22295473e99ed74a2c2b186607631b0e /camel/camel-sasl-cram-md5.c | |
parent | 8d5ca6bb757d2cddb4df2bc1b8993b4d4f4a2288 (diff) | |
download | gsoc2013-evolution-eb3167206c76ea6014be8bb73a63ee512f35aa7f.tar.gz gsoc2013-evolution-eb3167206c76ea6014be8bb73a63ee512f35aa7f.tar.zst gsoc2013-evolution-eb3167206c76ea6014be8bb73a63ee512f35aa7f.zip |
Added camel-sasl-anonymous.[c,h] to the build.
2001-02-28 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Added camel-sasl-anonymous.[c,h] to the build.
* camel-sasl-anonymous.[c,h]: new SASL class for ANONYMOUS
* camel-sasl-plain.c (plain_challenge): Oops, have a state for
setting sasl->authenticated = TRUE;
* camel-sasl-cram-md5.c (cram_md5_challenge): Same here.
svn path=/trunk/; revision=8433
Diffstat (limited to 'camel/camel-sasl-cram-md5.c')
-rw-r--r-- | camel/camel-sasl-cram-md5.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-sasl-cram-md5.c b/camel/camel-sasl-cram-md5.c index 0ad32aae04..66d42aca92 100644 --- a/camel/camel-sasl-cram-md5.c +++ b/camel/camel-sasl-cram-md5.c @@ -35,7 +35,8 @@ static CamelSaslClass *parent_class = NULL; static GByteArray *cram_md5_challenge (CamelSasl *sasl, const char *token, CamelException *ex); enum { - STATE_AUTH + STATE_AUTH, + STATE_FINAL }; struct _CamelSaslCramMd5Private { @@ -170,6 +171,8 @@ cram_md5_challenge (CamelSasl *sasl, const char *token, CamelException *ex) g_free (enc); break; + case STATE_FINAL: + sasl->authenticated = TRUE; default: break; } |