From 78a79955b68acf13928df15e4af0bba9d597232d Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 4 Aug 2011 16:05:11 -0700 Subject: Bug 658407: Make Bugzilla not use Math::Random::Secure anymore, due to the difficulty of installing its dependencies. Instead move the code directly into Bugzilla itself. r=LpSolit, r=glob, a=mkanat --- mod_perl.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mod_perl.pl') diff --git a/mod_perl.pl b/mod_perl.pl index 460e6216b..2f4016952 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -39,7 +39,6 @@ use Apache2::Log (); use Apache2::ServerUtil; use ModPerl::RegistryLoader (); use File::Basename (); -use Math::Random::Secure; # This loads most of our modules. use Bugzilla (); @@ -49,6 +48,7 @@ use Bugzilla::CGI (); use Bugzilla::Extension (); use Bugzilla::Install::Requirements (); use Bugzilla::Util (); +use Bugzilla::RNG (); # Make warnings go to the virtual host's log and not the main # server log. @@ -68,11 +68,11 @@ my $cgi_path = Bugzilla::Constants::bz_locations()->{'cgi_path'}; my $server = Apache2::ServerUtil->server; my $conf = < AddHandler perl-script .cgi # No need to PerlModule these because they're already defined in mod_perl.pl -- cgit v1.2.3-24-g4f1b