]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 476594: [SECURITY] Calling srand() at startup time in mod_perl makes the same...
authormkanat%bugzilla.org <>
Tue, 3 Feb 2009 09:58:46 +0000 (09:58 +0000)
committermkanat%bugzilla.org <>
Tue, 3 Feb 2009 09:58:46 +0000 (09:58 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=mkanat

Bugzilla/Install/Localconfig.pm

index e22a47afa61e61de8b48451280b5696f2a7ab0b4..5cd7755e83acfe69343343235c86c36c0279762e 100644 (file)
@@ -188,7 +188,7 @@ EOT
     },
     {
         name    => 'site_wide_secret',
-        default => generate_random_password(256),
+        default => sub { generate_random_password(256) },
         desc    => <<EOT
 # This secret key is used by your installation for the creation and
 # validation of encrypted tokens to prevent unsolicited changes,