[dovecot-cvs] dovecot/src/auth password-scheme-cram-md5.c,1.3,1.4

cras at dovecot.org cras at dovecot.org
Wed Sep 15 16:23:24 EEST 2004


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv22787/auth

Modified Files:
	password-scheme-cram-md5.c 
Log Message:
compiler warning fixes



Index: password-scheme-cram-md5.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/password-scheme-cram-md5.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- password-scheme-cram-md5.c	30 Jul 2004 01:57:04 -0000	1.3
+++ password-scheme-cram-md5.c	15 Sep 2004 13:23:22 -0000	1.4
@@ -10,7 +10,8 @@
 	struct hmac_md5_context ctx;
 	unsigned char context_digest[32];
 
-	hmac_md5_init(&ctx, plaintext, strlen(plaintext));
+	hmac_md5_init(&ctx, (const unsigned char *)plaintext,
+		      strlen(plaintext));
 	hmac_md5_get_cram_context(&ctx, context_digest);
 	return binary_to_hex(context_digest, sizeof(context_digest));
 }



More information about the dovecot-cvs mailing list