[dovecot-cvs] dovecot/src/auth mech-cram-md5.c,1.7,1.8

cras at dovecot.org cras at dovecot.org
Fri Jul 30 10:53:29 EEST 2004


Update of /home/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv31598

Modified Files:
	mech-cram-md5.c 
Log Message:
cleanup



Index: mech-cram-md5.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/mech-cram-md5.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- mech-cram-md5.c	30 Jul 2004 01:57:04 -0000	1.7
+++ mech-cram-md5.c	30 Jul 2004 07:53:26 -0000	1.8
@@ -66,7 +66,7 @@
 		return FALSE;
 
 	hmac_md5_set_cram_context(&ctx, context_digest);
-	md5_update(&ctx.ctx, auth->challenge, strlen(auth->challenge));
+	hmac_md5_update(&ctx, auth->challenge, strlen(auth->challenge));
 	hmac_md5_final(&ctx, digest);
 
 	response_hex = binary_to_hex(digest, 16);



More information about the dovecot-cvs mailing list