From 87eee75010f7efaa617ff32163359bf81513a619 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 13 Jun 2022 17:10:15 +0200 Subject: [PATCH] c_rehash: Drop the issuer_name_hash= prefix from the CRL hash Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell --- tools/c_rehash.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/c_rehash.in b/tools/c_rehash.in index 2f735d68c9..343cdc1e75 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/^.*=//;