Oh, there were *two* places where we needed to protect the file
name...
This commit is contained in:
parent
36757b4438
commit
caa4f47f61
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ sub link_hash_cert {
|
||||||
|
|
||||||
sub link_hash_crl {
|
sub link_hash_crl {
|
||||||
my $fname = $_[0];
|
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 $hash;
|
||||||
chomp $fprint;
|
chomp $fprint;
|
||||||
$fprint =~ s/^.*=//;
|
$fprint =~ s/^.*=//;
|
||||||
|
|
Loading…
Reference in a new issue