]> Cypherpunks repositories - gostls13.git/commitdiff
doc/1.9: add CL 36696 for crypto/x509 to the release notes
authorDmitry Savintsev <dsavints@gmail.com>
Thu, 3 Aug 2017 14:51:32 +0000 (16:51 +0200)
committerIan Lance Taylor <iant@golang.org>
Thu, 3 Aug 2017 18:22:36 +0000 (18:22 +0000)
add https://go-review.googlesource.com/c/36696
"crypto/x509: ignore CN if SAN extension present"
to the release notes.

Fixes #21289

Change-Id: Ifa184d3816806a8da3c67b68476c923329acf13e
Reviewed-on: https://go-review.googlesource.com/53030
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.9.html

index be0ceefcd5c5385f237e9525a186cb8652a584f2..16d26386c1a067535d25e8f2ca868f6136c19c85 100644 (file)
@@ -473,6 +473,15 @@ version of gccgo.
       populated.
     </p>
 
+    <p><!-- CL 36696 -->
+
+    If any SAN extension, including with no DSN names, is present
+    in the certificate, then the Common Name from
+    <a href="#pkg/crypto/x509/#Certificate.Subject"><code>Subject</code>code></a> is ignored.
+    In previous releases, the code tested only whether DNS-name SANs were
+    present in a certificate.
+    </p>
+
 </dl><!-- crypto/x509 -->
 
 <dl id="database/sql"><dt><a href="/pkg/database/sql/">database/sql</a></dt>