]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: implement (*ClientHelloInfo).SupportsCertificate
authorFilippo Valsorda <filippo@golang.org>
Fri, 1 Nov 2019 23:00:33 +0000 (19:00 -0400)
committerFilippo Valsorda <filippo@golang.org>
Tue, 12 Nov 2019 01:08:34 +0000 (01:08 +0000)
commitdd0173845f939dc532e8e8348b8360914dbca216
tree84f33138ab2ca9cf72cc1a15a06d5baae3283b9e
parentec732632c2c26dadf424462ac42ebd32dce3ee88
crypto/tls: implement (*ClientHelloInfo).SupportsCertificate

We'll also use this function for a better selection logic from
Config.Certificates in a later CL.

Updates #32426

Change-Id: Ie239574d02eb7fd2cf025ec36721c8c7e082d0bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/205057
Reviewed-by: Katie Hockman <katie@golang.org>
src/crypto/tls/common.go
src/crypto/tls/handshake_server.go
src/crypto/tls/tls_test.go