diff options
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; } |