From: Frederic Bourgeois Date: Mon, 28 May 2012 06:35:37 +0000 (-0600) Subject: Bug 3526: digest authentication crash X-Git-Tag: SQUID_3_2_0_18~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e79a48857bd16275ccd663bc94c5541776356ae0;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); }