dovecot-1.2: auth: DIGEST-MD5 didn't read nonce-count parameter ...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jan 17 17:18:23 EET 2012


details:   http://hg.dovecot.org/dovecot-1.2/rev/da3c7253b18c
changeset: 9650:da3c7253b18c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 17 17:17:24 2012 +0200
description:
auth: DIGEST-MD5 didn't read nonce-count parameter correctly.
Patch by Yubao Liu.

diffstat:

 src/auth/mech-digest-md5.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 02c2ac9ddf8c -r da3c7253b18c src/auth/mech-digest-md5.c
--- a/src/auth/mech-digest-md5.c	Mon Aug 29 06:46:53 2011 +0300
+++ b/src/auth/mech-digest-md5.c	Tue Jan 17 17:17:24 2012 +0200
@@ -325,7 +325,7 @@
 		return TRUE;
 	}
 
-	if (strcmp(key, "nonce-count") == 0) {
+	if (strcmp(key, "nc") == 0) {
 		if (request->nonce_count != NULL) {
 			*error = "nonce-count must not exist more than once";
 			return FALSE;


More information about the dovecot-cvs mailing list