From: Timo Sirainen Date: Tue, 17 Jan 2012 15:17:24 +0000 (+0200) Subject: auth: DIGEST-MD5 didn't read nonce-count parameter correctly. X-Git-Tag: 2.1.rc4~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=802d296fb5af255e399124edc8aaceadea8c775a;p=thirdparty%2Fdovecot%2Fcore.git auth: DIGEST-MD5 didn't read nonce-count parameter correctly. Patch by Yubao Liu. --- diff --git a/src/auth/mech-digest-md5.c b/src/auth/mech-digest-md5.c index 7959a94209..9faa835091 100644 --- a/src/auth/mech-digest-md5.c +++ b/src/auth/mech-digest-md5.c @@ -323,7 +323,7 @@ static bool auth_handle_response(struct digest_auth_request *request, 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;