From 3763f46b7f11341cfe3e1e0ae2e628be3aa21f5a Mon Sep 17 00:00:00 2001 From: "wtchang%redhat.com" Date: Wed, 18 Oct 2006 23:45:32 +0000 Subject: [PATCH] Bugzilla Bug 357015: it turns out the code is correct. it's the comment that's wrong. git-svn-id: svn://10.0.0.236/trunk@213830 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/freebl/win_rand.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/security/nss/lib/freebl/win_rand.c b/mozilla/security/nss/lib/freebl/win_rand.c index 83eca66dcab..eb06d8bbd23 100644 --- a/mozilla/security/nss/lib/freebl/win_rand.c +++ b/mozilla/security/nss/lib/freebl/win_rand.c @@ -323,10 +323,8 @@ ReadSystemFiles() RNG_RandomUpdate(&dwNumFiles, sizeof(dwNumFiles)); - // now read 10 files - // because of a programming error, the code actually reads the - // first 10 readable files, then 10 or 11 files spread throughout - // the system directory + // now read the first 10 readable files, then 10 or 11 files + // spread throughout the system directory filesToRead = 10; if (dwNumFiles == 0) return;