]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: improve internal comment
authorDmitri Shuralyov <shurcooL@gmail.com>
Thu, 29 Jun 2017 04:38:38 +0000 (00:38 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 29 Jun 2017 05:50:37 +0000 (05:50 +0000)
commitd13d6b337826cc3b3a2da665b4bc0a33c5d300af
treea3f5886a2ef9f983194c709a9d3e742727f20eaa
parentdc86c9a6afa8b5b998dfa6621d1566d1296f2bf4
crypto/x509: improve internal comment

Apply code review suggestion from CL 46715.

The block is doing more than just checking len(r.certs) == len(tc.cns).
It also verifies that certificate common names match.

Change-Id: I28d6926a5da48bd8f6c80aa5e5a1ed6d4990f845
Reviewed-on: https://go-review.googlesource.com/47132
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/x509/root_unix_test.go