changeset 9650:da3c7253b18c HEAD

auth: DIGEST-MD5 didn't read nonce-count parameter correctly. Patch by Yubao Liu.
author Timo Sirainen <tss@iki.fi>
date Tue, 17 Jan 2012 17:17:24 +0200
parents 02c2ac9ddf8c
children 9ab1c8a10944
files src/auth/mech-digest-md5.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;