]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: fix and expand TestVerifyPeerCertificate and TestGetClientCertificate
authorFilippo Valsorda <hi@filippo.io>
Tue, 4 Jul 2017 18:46:59 +0000 (19:46 +0100)
committerAdam Langley <agl@golang.org>
Sat, 9 Sep 2017 19:23:45 +0000 (19:23 +0000)
commite7d46cee2f67667982c091dc7c6e872b829b754e
treef9f617c91797416ada3c14488c011450faa46876
parent06f4d93699ebbf05a500313c6b6ae6f80105d838
crypto/tls: fix and expand TestVerifyPeerCertificate and TestGetClientCertificate

TestGetClientCertificate had disabled verification, and was only passing
because it was mistakenly checking for empty verifiedChains.

Change-Id: Iea0ddbdbbdf8ac34b499569820a2e4ce543a69c7
Reviewed-on: https://go-review.googlesource.com/47430
Run-TryBot: Filippo Valsorda <hi@filippo.io>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/tls/handshake_client_test.go