tailscale/tempfork
Brad Fitzpatrick f5993f2440 crypto/x509: add support for CertPool to load certs lazily
(from patchset 1, 7cdc3c3e7427c9ef69e19224d6036c09c5ea1723, of
https://go-review.googlesource.com/c/go/+/229917/1)

This will allow building CertPools that consume less memory. (Most
certs are never accessed. Different users/programs access different
ones, but not many.)

This CL only adds the new internal mechanism (and uses it for the
old AddCert) but does not modify any existing root pool behavior.
(That is, the default Unix roots are still all slurped into memory as
of this CL)

Change-Id: Ib3a42e4050627b5e34413c595d8ced839c7bfa14
2020-04-24 21:27:48 -07:00
..
internal/testenv Add fork of Go 1.15-dev's crypto/x509 2020-04-24 20:19:41 -07:00
osexec Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
x509 crypto/x509: add support for CertPool to load certs lazily 2020-04-24 21:27:48 -07:00