summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/common.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 8d8ab40dd..3dcacfb49 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -33,6 +33,7 @@ sub __ { $_[0] }
sub salt {
my ($nb) = @_;
require devices;
+ local *F;
open F, devices::make("random") or die "missing random";
my $s; read F, $s, $nb;
local $_ = pack "b8" x $nb, unpack "b6" x $nb, $s;