diff options
author | Filippo Valsorda <filippo@golang.org> | 2020-10-30 00:04:00 +0100 |
---|---|---|
committer | Filippo Valsorda <filippo@golang.org> | 2020-12-04 00:56:40 +0000 |
commit | 2c2980aa0cde1a44789103981774e34a4c8a0f2d (patch) | |
tree | ef6061f1fc11e21466a1f2b7259f99e99555df63 /doc/go1.16.html | |
parent | 37a32a1833a6e55baaa8d971406094148e42f7d1 (diff) | |
download | go-2c2980aa0cde1a44789103981774e34a4c8a0f2d.tar.gz go-2c2980aa0cde1a44789103981774e34a4c8a0f2d.zip |
doc/go1.16: pre-announce GODEBUG=x509ignoreCN=0 removal in Go 1.17
For #40700
Updates #24151
Change-Id: Id63dcaad238f7534bfce8902b8cb3efd8db5942d
Reviewed-on: https://go-review.googlesource.com/c/go/+/266539
Trust: Filippo Valsorda <filippo@golang.org>
Trust: Katie Hockman <katie@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Diffstat (limited to 'doc/go1.16.html')
-rw-r--r-- | doc/go1.16.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/go1.16.html b/doc/go1.16.html index 462f86fe09..e644ad0575 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -501,6 +501,13 @@ Do not send CLs removing the interior tags from such phrases. <dl id="crypto/x509"><dt><a href="/pkg/crypto/x509/">crypto/x509</a></dt> <dd> + <p> + The <code>GODEBUG=x509ignoreCN=0</code> flag will be removed in Go 1.17. + It enables the legacy behavior of treating the <code>CommonName</code> + field on X.509 certificates as a host name when no Subject Alternative + Names are present. + </p> + <p><!-- CL 235078 --> <a href="/pkg/crypto/x509/#ParseCertificate">ParseCertificate</a> and <a href="/pkg/crypto/x509/#CreateCertificate">CreateCertificate</a> both |