]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: implement (*CertificateRequestInfo).SupportsCertificate
authorFilippo Valsorda <filippo@golang.org>
Fri, 1 Nov 2019 23:40:05 +0000 (19:40 -0400)
committerFilippo Valsorda <filippo@golang.org>
Tue, 12 Nov 2019 01:08:46 +0000 (01:08 +0000)
commit4b21642161570dad6e94fb7722cd3c9156874cea
treee0ae661b21b7897f9e55a8de9d8341ea59d2bb55
parentdd0173845f939dc532e8e8348b8360914dbca216
crypto/tls: implement (*CertificateRequestInfo).SupportsCertificate

Also, add Version to CertificateRequestInfo, as the semantics of
SignatureSchemes change based on version: the ECDSA SignatureSchemes are
only constrained to a specific curve in TLS 1.3.

Fixes #32426

Change-Id: I7a551bea864799e98118349ac2476162893d1ffd
Reviewed-on: https://go-review.googlesource.com/c/go/+/205058
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/tls/common.go
src/crypto/tls/handshake_client.go
src/crypto/tls/handshake_client_tls13.go