From b92fe16d40c825af39c6316d0db1d38a4d730f97 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Tue, 3 Feb 2009 10:00:14 +0000 Subject: [PATCH] Bug 476594: [SECURITY] Calling srand() at startup time in mod_perl makes the same token be generated over and over Patch By Max Kanat-Alexander r=justdave, a=mkanat git-svn-id: svn://10.0.0.236/trunk@256062 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm b/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm index e22a47afa61..5cd7755e83a 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm @@ -188,7 +188,7 @@ EOT }, { name => 'site_wide_secret', - default => generate_random_password(256), + default => sub { generate_random_password(256) }, desc => <