[openssl] master update
Dr. Paul Dale
pauli at openssl.org
Fri Feb 26 00:04:10 UTC 2021
The branch master has been updated
via 2d968951227acd422f0e712035de3216d47fc980 (commit)
from 1cba86234aba9925ac01982c7aa8f9bc42f11a23 (commit)
- Log -----------------------------------------------------------------
commit 2d968951227acd422f0e712035de3216d47fc980
Author: Mark <mark at asx.hu>
Date: Wed Feb 24 14:14:08 2021 +0100
Fix filename escaping in c_rehash
CLA: trivial
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14301)
-----------------------------------------------------------------------
Summary of changes:
tools/c_rehash.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the openssl-commits
mailing list