diff options
author | Mark <mark@asx.hu> | 2021-02-24 14:14:08 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-26 10:03:48 +1000 |
commit | 2d968951227acd422f0e712035de3216d47fc980 (patch) | |
tree | 24749d37708c4560709e0ca96ab856c4c7d4fd4c | |
parent | 1cba86234aba9925ac01982c7aa8f9bc42f11a23 (diff) | |
download | openssl-2d968951227acd422f0e712035de3216d47fc980.tar.gz |
Fix filename escaping in c_rehash
CLA: trivial
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14301)
-rw-r--r-- | tools/c_rehash.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in index ad72b51cfe..3e2e9c0f52 100644 --- a/tools/c_rehash.in +++ b/tools/c_rehash.in @@ -161,7 +161,7 @@ sub check_file { sub link_hash_cert { my $fname = $_[0]; - $fname =~ s/'/'\\''/g; + $fname =~ s/\"/\\\"/g; my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fname"`; chomp $hash; chomp $fprint; |