]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3526: digest authentication crash
authorFrederic Bourgeois <fredbmail@free.fr>
Mon, 28 May 2012 06:35:37 +0000 (00:35 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 28 May 2012 06:35:37 +0000 (00:35 -0600)
src/auth/digest/auth_digest.cc

index 70f69240f0775267bf9ff0d3b41adfbbb3bf34a0..ff3d0498e29ef6b71db7c146d0a37e3a76d1e272 100644 (file)
@@ -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);
     }