crypto/x509: ParseCertificate should mention the ownership of the slice passed to it. #59548
Labels
Documentation
Issues describing a change to documentation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
ParseCertificate and ParseCertificates should mention that the argument (der) is the same as the cert.Raw.
go/src/crypto/x509/parser.go
Lines 800 to 810 in 267b50a
From the docs is doesn't seem to be the case.
go/src/crypto/x509/parser.go
Lines 983 to 985 in 267b50a
All of these fields should mention that they share the memory with the slice passed to ParseCertificate.
go/src/crypto/x509/x509.go
Lines 677 to 684 in 267b50a
The text was updated successfully, but these errors were encountered: