summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-10-11 11:34:28 +0000
committerRichard Levitte <levitte@openssl.org>2002-10-11 11:34:28 +0000
commit97b8718f15b666cd1fb0e8a7f2afa690c5d70728 (patch)
treec4f85dc4d1bcf2a45aafa981add26027134bf3de /tools
parent388a6f937fe3e8079de97097e18f7d684fe5d2ca (diff)
There may be more than one single quote to fix.
PR: 256
Diffstat (limited to 'tools')
-rw-r--r--tools/c_rehash.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in
index 0c2d6b1f4c..c2e7d67f3b 100644
--- a/tools/c_rehash.in
+++ b/tools/c_rehash.in
@@ -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;