From: Tomas Mraz Date: Mon, 13 Jun 2022 15:10:15 +0000 (+0200) Subject: c_rehash: Drop the issuer_name_hash= prefix from the CRL hash X-Git-Tag: openssl-3.2.0-alpha1~2512 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87eee75010f7efaa617ff32163359bf81513a619;p=thirdparty%2Fopenssl.git c_rehash: Drop the issuer_name_hash= prefix from the CRL hash Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell --- diff --git a/tools/c_rehash.in b/tools/c_rehash.in index 2f735d68c9c..343cdc1e757 100644 --- a/tools/c_rehash.in +++ b/tools/c_rehash.in @@ -222,6 +222,7 @@ sub link_hash { "-fingerprint", "-noout", "-in", $fname); chomp $hash; + $hash =~ s/^.*=// if !$is_cert; chomp $fprint; return if !$hash; $fprint =~ s/^.*=//;