aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-sasl-cram-md5.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-01 07:24:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-01 07:24:15 +0800
commiteb3167206c76ea6014be8bb73a63ee512f35aa7f (patch)
tree2205a4cd22295473e99ed74a2c2b186607631b0e /camel/camel-sasl-cram-md5.c
parent8d5ca6bb757d2cddb4df2bc1b8993b4d4f4a2288 (diff)
downloadgsoc2013-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.c5
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;
}