]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: fix duplicate calls to VerifyConnection
authorKatie Hockman <katie@golang.org>
Wed, 13 May 2020 21:44:20 +0000 (17:44 -0400)
committerKatie Hockman <katie@golang.org>
Wed, 3 Jun 2020 19:01:50 +0000 (19:01 +0000)
commit66e35c995bb68d62612644c6566f500c3df45026
tree90e9b13ebf7aa3b4831e7c52b71c56f1a4311797
parent09e791feb1dfbfc05578a17cd9c035ef82af4033
crypto/tls: fix duplicate calls to VerifyConnection

Also add a test that could reproduce this error and
ensure it doesn't occur in other configurations.

Fixes #39012

Change-Id: If792b5131f312c269fd2c5f08c9ed5c00188d1af
Reviewed-on: https://go-review.googlesource.com/c/go/+/233957
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/tls/handshake_client_test.go
src/crypto/tls/handshake_server.go
src/crypto/tls/handshake_server_tls13.go