[openssl] OpenSSL_1_1_1-stable update

Dr. Paul Dale pauli at openssl.org
Fri Feb 26 00:04:48 UTC 2021


The branch OpenSSL_1_1_1-stable has been updated
       via  3a6e6b1f94ae41e2fd73483464c9c80ddcf30d17 (commit)
      from  1102187a71f6aa8f72daf46c5d543c261b90c83b (commit)


- Log -----------------------------------------------------------------
commit 3a6e6b1f94ae41e2fd73483464c9c80ddcf30d17
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)
    
    (cherry picked from commit 2d968951227acd422f0e712035de3216d47fc980)

-----------------------------------------------------------------------

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 421fd89208..d97cab0ed5 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