mirror of
https://github.com/openssl/openssl.git
synced 2026-01-18 17:11:31 +01:00
c_rehash: Strip \r from hash filename on msys2
Sample output for c_rehash -v on ucrt64 env:
Doing .
.0nk my.pem -> 472bcb3c
.0nk ca-bundle.crt -> cd8c0d63
WARNING: Skipping duplicate certificate ca-bundle.trust.crt
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28996)
(cherry picked from commit 331c2c71c9)
This commit is contained in:
committed by
Richard Levitte
parent
a348411bec
commit
7eb19efbab
@@ -192,6 +192,7 @@ sub compute_hash {
|
||||
print STDERR "Cannot compute hash on '$fname'\n";
|
||||
return;
|
||||
}
|
||||
binmode($fh, ":crlf");
|
||||
}
|
||||
return (<$fh>, <$fh>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user