HomeFreeBSD

certctl: Convert line endings before inspecting files.

Description

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

Details

Provenance
desAuthored on Nov 7 2023, 7:52 PM
Reviewer
allanjude
Differential Revision
D42490: certctl: Convert line endings before inspecting files.
Parents
rG4e0e01bf6511: fflush: correct buffer handling in __sflush
Branches
Unknown
Tags
Unknown