aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-06-25 16:39:56 -0700
committerIan Lance Taylor <iant@golang.org>2020-06-26 17:32:19 +0000
commit186e61f319c2fb0d0abc72c85d8818eba06e26e3 (patch)
tree27f964f4ae71704319bbe6ba1ae36828561c5300 /doc
parentd1015f3e58e50c3e6f958391a9174fc15e030e83 (diff)
downloadgo-186e61f319c2fb0d0abc72c85d8818eba06e26e3.tar.gz
go-186e61f319c2fb0d0abc72c85d8818eba06e26e3.zip
doc/go1.14: crypto/tls.Config.NameToCertificate is deprecated
Also crypto/tls.Config.BuildNameToCertificate. Note that this field and method were deprecated in the Go 1.14 release, so this change is to the 1.14 release notes. Fixes #37626 Change-Id: If8549bc746f42a93f1903439e1b464b3e81e2c19 Reviewed-on: https://go-review.googlesource.com/c/go/+/240005 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.14.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/go1.14.html b/doc/go1.14.html
index 478035360a..35a9f3c2f3 100644
--- a/doc/go1.14.html
+++ b/doc/go1.14.html
@@ -466,7 +466,15 @@ Do not send CLs removing the interior tags from such phrases.
certificate, and letting the package automatically select the best one.
Note that the performance of this selection is going to be poor unless the
<a href="/pkg/crypto/tls/#Certificate.Leaf"><code>Certificate.Leaf</code></a>
- field is set.
+ field is set. The
+ <a href="/pkg/crypto/tls/#Config.NameToCertificate"><code>Config.NameToCertificate</code></a>
+ field, which only supports associating a single certificate with
+ a give name, is now deprecated and should be left as <code>nil</code>.
+ Similarly the
+ <a href="/pkg/crypto/tls/#Config.BuildNameToCertificate"><code>Config.BuildNameToCertificate</code></a>
+ method, which builds the <code>NameToCertificate</code> field
+ from the leaf certificates, is now deprecated and should not be
+ called.
</p>
<p><!-- CL 175517 -->