]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
certctl: Convert line endings before inspecting files.
authorDag-Erling Smørgrav <des@FreeBSD.org>
Tue, 7 Nov 2023 19:52:56 +0000 (20:52 +0100)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Tue, 7 Nov 2023 19:53:09 +0000 (20:53 +0100)
commitf7d16a627efa8ba610eb9b8a12dd67b6cdbb2542
tree5093758c914ff37b978f92d690a80b1b0652de4b
parent4e0e01bf6511c28212d7dff94fe131a502e13026
certctl: Convert line endings before inspecting files.

This ensures that certificate files or bundles with DOS or Mac line
endings are recognized as such and handled identically to those with
Unix line endings.

PR: 274952
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D42490
usr.sbin/certctl/certctl.sh