Skip to content

Commit 39e2141

Browse files
orgadslevitte
authored andcommitted
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 openssl#28996) (cherry picked from commit 331c2c7)
1 parent f41ab3d commit 39e2141

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/c_rehash.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ sub compute_hash {
192192
print STDERR "Cannot compute hash on '$fname'\n";
193193
return;
194194
}
195+
binmode($fh, ":crlf");
195196
}
196197
return (<$fh>, <$fh>);
197198
}

0 commit comments

Comments
 (0)