diff options
| author | Adam Langley <agl@golang.org> | 2016-10-26 13:51:44 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-10-26 22:58:21 +0000 |
| commit | 4f1e7be51f401a5374c0def2df0773abc924b03c (patch) | |
| tree | 46ad9e94e5ece9b1c67be95a161b65ec3cea2635 /src/bytes/bytes_test.go | |
| parent | f697cf22558157b9c0bc287287c5668c758f16c9 (diff) | |
| download | go-4f1e7be51f401a5374c0def2df0773abc924b03c.tar.xz | |
crypto/x509: use Certificate.Equals and CertPool.contains.
By using these utility functions, the code can be made a little shorter.
Thanks to Omar Shafie for pointing this out in
https://golang.org/cl/27393/.
Change-Id: I33fd97cf7d60a31d0844ec16c12bba530dcc6f6d
Reviewed-on: https://go-review.googlesource.com/32120
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/bytes/bytes_test.go')
0 files changed, 0 insertions, 0 deletions
