There may be more than one single quote to fix.
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Oct 2002 11:34:20 +0000 (11:34 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 11 Oct 2002 11:34:20 +0000 (11:34 +0000)
PR: 256

tools/c_rehash.in

index 0c2d6b1..c2e7d67 100644 (file)
@@ -100,7 +100,7 @@ sub check_file {
 
 sub link_hash_cert {
                my $fname = $_[0];
-               $fname =~ s/'/'\\''/;
+               $fname =~ s/'/'\\''/g;
                my ($hash, $fprint) = `$openssl x509 -hash -fingerprint -noout -in '$fname'`;
                chomp $hash;
                chomp $fprint;