From: Filippo Valsorda Date: Thu, 29 Oct 2020 23:04:00 +0000 (+0100) Subject: doc/go1.16: pre-announce GODEBUG=x509ignoreCN=0 removal in Go 1.17 X-Git-Tag: go1.16beta1~91 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2c2980aa0cde1a44789103981774e34a4c8a0f2d;p=gostls13.git 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 Trust: Katie Hockman Reviewed-by: Katie Hockman --- 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.
crypto/x509
+

+ The GODEBUG=x509ignoreCN=0 flag will be removed in Go 1.17. + It enables the legacy behavior of treating the CommonName + field on X.509 certificates as a host name when no Subject Alternative + Names are present. +

+

ParseCertificate and CreateCertificate both