golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.2k stars 17.7k forks source link

proposal: crypto/x509: Make 'CertPool.contains()' public #70477

Closed rossigee closed 1 day ago

rossigee commented 1 day ago

Proposal Details

Various developers have experienced issues with not being able to determine the contents of the CertPool, due to the method contains being private.

Background

This proposal attempts to address this by simply making the contains method public.

gabyhelp commented 1 day ago

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

seankhliao commented 1 day ago

Duplicate of #39179