From: Frederic Bourgeois Date: Thu, 17 May 2012 01:59:44 +0000 (+1200) Subject: Bug 3526: digest authentication crash X-Git-Tag: BumpSslServerFirst.take09~3^2~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eddc70738e8688ace859c167d211e9ee81fb9b8;p=thirdparty%2Fsquid.git Bug 3526: digest authentication crash --- diff --git a/src/auth/digest/auth_digest.cc b/src/auth/digest/auth_digest.cc index 70f69240f0..ff3d0498e2 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -185,6 +185,7 @@ authenticateDigestNonceNew(void) while ((temp = authenticateDigestNonceFindNonce((char const *) (newnonce->key)))) { /* create a new nonce */ newnonce->noncedata.randomdata = squid_random(); + newnonce->noncedata.creationtime = current_time.tv_sec; authDigestNonceEncode(newnonce); }