]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3526: digest authentication crash
authorFrederic Bourgeois <fredbmail@free.fr>
Thu, 17 May 2012 01:59:44 +0000 (13:59 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 17 May 2012 01:59:44 +0000 (13:59 +1200)
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);
     }