summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-06-13 17:10:15 +0200
committerMatt Caswell <matt@openssl.org>2022-06-20 11:44:52 +0100
commit87eee75010f7efaa617ff32163359bf81513a619 (patch)
tree3374f87518496ea2bc4b69cd3b043cfb6421063a /tools
parentce60b13707add7e6b54c5817376234c4043506ed (diff)
downloadopenssl-new-87eee75010f7efaa617ff32163359bf81513a619.tar.gz
c_rehash: Drop the issuer_name_hash= prefix from the CRL hash
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/c_rehash.in1
1 files changed, 1 insertions, 0 deletions
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/^.*=//;