]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.15: add encoding/asn1 note about minimal encoding
authorRoland Shoemaker <rolandshoemaker@gmail.com>
Tue, 30 Jun 2020 16:14:15 +0000 (09:14 -0700)
committerFilippo Valsorda <filippo@golang.org>
Tue, 30 Jun 2020 17:24:22 +0000 (17:24 +0000)
Also fix missing <code> tags in the other encoding/asn1 note.

Updates #37419

Change-Id: Ic0e9131016b44ed864629aa8d0a7fddb57146d21
Reviewed-on: https://go-review.googlesource.com/c/go/+/240518
Reviewed-by: Filippo Valsorda <filippo@golang.org>
doc/go1.15.html

index d9fe3b32d85afb00c0566072d74f59c58aa3df31..fb746be01c1652b3d714ab7b2da7025a37fdd0bc 100644 (file)
@@ -598,9 +598,14 @@ Do not send CLs removing the interior tags from such phrases.
 <dl id="encoding/asn1"><dt><a href="/pkg/encoding/asn1/">encoding/asn1</a></dt>
   <dd>
     <p><!-- CL 226984 -->
-      <a href="/pkg/encoding/asn1/#Marshal">Marshal</a> now sorts the components
+      <a href="/pkg/encoding/asn1/#Marshal"><code>Marshal</code></a> now sorts the components
       of SET OF according to X.690 DER.
     </p>
+
+    <p><!-- CL 227320 -->
+      <a href="/pkg/encoding/asn1/#Unmarshal"><code>Unmarshal</code></a> now rejects tags and
+      Object Identifiers which are not minimally encoded according to X.690 DER.
+    </p>
   </dd>
 </dl><!-- encoding/asn1 -->