]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: clarify docs for SystemCertPool
authorLeigh McCulloch <leighmcc@gmail.com>
Thu, 30 Aug 2018 21:45:21 +0000 (21:45 +0000)
committerFilippo Valsorda <filippo@golang.org>
Thu, 30 Aug 2018 22:13:10 +0000 (22:13 +0000)
commit8201b92aae7ba51ed2e2645c1f7815bfe845db72
tree9ad05748d70db9288b33bb1c7db61fcd87277d06
parent3eb0b2e80d39f62ac7561e85215e3e7222dba2db
crypto/x509: clarify docs for SystemCertPool

The sentence in the docs for SystemCertPool that states that mutations
to a returned pool do not affect any other pool is ambiguous as to who
the any other pools are, because pools can be created in multiple ways
that have nothing to do with the system certificate pool. Also the use
of the word 'the' instead of 'a' early in the sentence implies there is
only one shared pool ever returned.

Fixes #27385

Change-Id: I43adbfca26fdd66c4adbf06eb85361139a1dea93
GitHub-Last-Rev: 2f1ba09fa403d31d2d543dca15727c6c2f896ec7
GitHub-Pull-Request: golang/go#27388
Reviewed-on: https://go-review.googlesource.com/132378
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/x509/cert_pool.go