Commit c9cc20bd authored by Leigh McCulloch's avatar Leigh McCulloch Committed by Brad Fitzpatrick

crypto/x509: revert change of article in SystemCertPool docs

The words 'the returned' were changed to 'a returned' in
8201b92a when referring to the value
returned by SystemCertPool. Brad Fitz pointed out after that commit was
merged that it makes the wording of this function doc inconsistent with
rest of the stdlib since 'a returned' is not used anywhere, but 'the
returned' is frequently used.

Fixes #27385

Change-Id: I289b533a5a0b5c63eaf0abb6dec0085388ecf76b
GitHub-Last-Rev: 6c83b8025704e291ebe5b15dd2ac3fa65b1b48ff
GitHub-Pull-Request: golang/go#27438
Reviewed-on: https://go-review.googlesource.com/132776Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 1d15354f
...@@ -47,7 +47,7 @@ func (s *CertPool) copy() *CertPool { ...@@ -47,7 +47,7 @@ func (s *CertPool) copy() *CertPool {
// SystemCertPool returns a copy of the system cert pool. // SystemCertPool returns a copy of the system cert pool.
// //
// Any mutations to a returned pool are not written to disk and do // Any mutations to the returned pool are not written to disk and do
// not affect any other pool returned by SystemCertPool. // not affect any other pool returned by SystemCertPool.
// //
// New changes in the the system cert pool might not be reflected // New changes in the the system cert pool might not be reflected
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment