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

dovecot at dovecot.org dovecot at dovecot.org
Tue Jan 17 17:17:32 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/387707dc020e
changeset: 13938:387707dc020e
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 1d54d2963392 -r 387707dc020e src/auth/mech-digest-md5.c
--- a/src/auth/mech-digest-md5.c	Tue Jan 17 16:18:05 2012 +0200
+++ b/src/auth/mech-digest-md5.c	Tue Jan 17 17:17:24 2012 +0200
@@ -323,7 +323,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