We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37a32a1 commit 2c2980aCopy full SHA for 2c2980a
doc/go1.16.html
@@ -501,6 +501,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
501
502
<dl id="crypto/x509"><dt><a href="/pkg/crypto/x509/">crypto/x509</a></dt>
503
<dd>
504
+ <p>
505
+ The <code>GODEBUG=x509ignoreCN=0</code> flag will be removed in Go 1.17.
506
+ It enables the legacy behavior of treating the <code>CommonName</code>
507
+ field on X.509 certificates as a host name when no Subject Alternative
508
+ Names are present.
509
+ </p>
510
+
511
<p><!-- CL 235078 -->
512
<a href="/pkg/crypto/x509/#ParseCertificate">ParseCertificate</a> and
513
<a href="/pkg/crypto/x509/#CreateCertificate">CreateCertificate</a> both
0 commit comments