Oh, there were *two* places where we needed to protect the file

name...
This commit is contained in:
Richard Levitte 2002-10-11 20:28:23 +00:00
parent 36757b4438
commit caa4f47f61

View file

@ -131,7 +131,8 @@ sub link_hash_cert {
sub link_hash_crl {
my $fname = $_[0];
my ($hash, $fprint) = `$openssl crl -hash -fingerprint -noout -in "$fname"`;
$fname =~ s/'/'\\''/g;
my ($hash, $fprint) = `$openssl crl -hash -fingerprint -noout -in '$fname'`;
chomp $hash;
chomp $fprint;
$fprint =~ s/^.*=//;