Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/x509: improve error when parsing bad ECDSA cert
When parsing an ECDSA certificate, improve the error message upon failing to parse the curve as a named curve, rather than returning the original ASN1 error. Fixes #21502 Change-Id: I7ae7b3ea7a9dcbd78a9607f46f5883d3193b8367 Reviewed-on: https://go-review.googlesource.com/57050 Reviewed-by: Filippo Valsorda <[email protected]>
- Loading branch information