golang/go

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

Open

#24.156 aberto em 27 de fev. de 2018

Ver no GitHub
 (5 comments) (2 reactions) (0 assignees)Go (19.008 forks)batch import
NeedsFixTestinghelp wanted

Métricas do repositório

Stars
 (133.883 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador