diff options
author | Richard Levitte <levitte@openssl.org> | 2002-10-11 20:54:03 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-10-11 20:54:03 +0000 |
commit | 8fd54b07a8a4f976d77251998321b2bec6078039 (patch) | |
tree | b1a635331759ff976b61d46272becd3b03128fb7 /tools | |
parent | 3ae068316b7c6514e0a83bfdb1a7c410019ade3a (diff) | |
download | openssl-new-8fd54b07a8a4f976d77251998321b2bec6078039.tar.gz |
Merge in latest changes from 0.9.6-stable.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/c_rehash.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in index 26db8999d8..1a17605728 100644 --- a/tools/c_rehash.in +++ b/tools/c_rehash.in @@ -100,7 +100,8 @@ sub check_file { sub link_hash_cert { my $fname = $_[0]; - my ($hash, $fprint) = `$openssl x509 -hash -fingerprint -noout -in $fname`; + $fname =~ s/'/'\\''/g; + my ($hash, $fprint) = `$openssl x509 -hash -fingerprint -noout -in '$fname'`; chomp $hash; chomp $fprint; $fprint =~ s/^.*=//; |