Closed elliotcubit closed 1 year ago
Return errors from the io.Reader here. Also return a slice of errors encountered while parsing certificates in the PEM.
io.Reader
Previously, it was necessary for the caller to know how many certificates were in the input PEM in order to check this function for error.
The CI failure is unrelated to this PR, and is due to go version (1.20.3 being use by CI). The TLS 1.3 Feature branch needs to be updated, but that doesn't need to block this PR.
Return errors from the
io.Reader
here. Also return a slice of errors encountered while parsing certificates in the PEM.Previously, it was necessary for the caller to know how many certificates were in the input PEM in order to check this function for error.