golang/go

crypto/x509: ensure CreateCertificate won't generate unparsable certificates

Open

#24,156 opened on Feb 27, 2018

View on GitHub
 (5 comments) (2 reactions) (0 assignees)Go (19,008 forks)batch import
NeedsFixTestinghelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

CreateCertificate should return an error instead of generating a certificate that will fail ParseCertificate. We should check that's the case and maybe test or enforce this.

See #23995.

Contributor guide