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>
This commit is contained in:
Tomas Mraz 2022-06-13 17:10:15 +02:00 committed by Matt Caswell
parent ce60b13707
commit 87eee75010
1 changed files with 1 additions and 0 deletions

View File

@ -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/^.*=//;