From: hno <> Date: Mon, 15 Jul 2002 05:53:50 +0000 (+0000) Subject: s/random/squid_random/ to ease the Win32 port X-Git-Tag: SQUID_3_0_PRE1~905 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b600a19dd0d35c327b804400d4e283123ab03c71;p=thirdparty%2Fsquid.git s/random/squid_random/ to ease the Win32 port --- diff --git a/src/auth/digest/auth_digest.cc b/src/auth/digest/auth_digest.cc index 6868d272a0..db54271186 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -1,6 +1,6 @@ /* - * $Id: auth_digest.cc,v 1.14 2002/04/13 23:07:54 hno Exp $ + * $Id: auth_digest.cc,v 1.15 2002/07/14 23:53:50 hno Exp $ * * DEBUG: section 29 Authenticator * AUTHOR: Robert Collins @@ -174,7 +174,7 @@ authenticateDigestNonceNew(void) newnonce->flags.valid = 1; newnonce->noncedata.self = newnonce; newnonce->noncedata.creationtime = current_time.tv_sec; - newnonce->noncedata.randomdata = random(); + newnonce->noncedata.randomdata = squid_random(); authDigestNonceEncode(newnonce); /* @@ -183,7 +183,7 @@ authenticateDigestNonceNew(void) */ while ((temp = authenticateDigestNonceFindNonce(newnonce->hash.key))) { /* create a new nonce */ - newnonce->noncedata.randomdata = random(); + newnonce->noncedata.randomdata = squid_random(); authDigestNonceEncode(newnonce); } hash_join(digest_nonce_cache, &newnonce->hash);