Skip to content

Commit 9f6e87f

Browse files
yagikotarolandshoemaker
authored andcommitted
doc/go1.21: document changes in crypto/x509
RevocationList.RevokedCertificates has been deprecated and replaced with the new RevocationList.RevokedCertificateEntries field, not RevocationList.Entries. Change-Id: I36053e0d67a9997264483d1e04e31774fbab8702 GitHub-Last-Rev: a9f6949 GitHub-Pull-Request: #60984 Reviewed-on: https://go-review.googlesource.com/c/go/+/505935 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> TryBot-Bypass: Dmitri Shuralyov <[email protected]>
1 parent f5015b5 commit 9f6e87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/go1.21.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
589589
<dl id="crypto/x509"><dt><a href="/pkg/crypto/x509/">crypto/x509</a></dt>
590590
<dd>
591591
<p><!-- https://go.dev/issue/53573, CL 468875 -->
592-
<a href="/pkg/crypto/x509/#RevocationList.RevokedCertificates"><code>RevocationList.RevokedCertificates</code></a> has been deprecated and replaced with the new <a href="/pkg/crypto/x509/#RevocationList.Entries"><code>RevocationList.Entries</code></a> field, which is a slice of <a href="/pkg/crypto/x509/#RevocationListEntry"><code>RevocationListEntry</code></a>. <a href="/pkg/crypto/x509/#RevocationListEntry"><code>RevocationListEntry</code></a> contains all of the fields in <a href="/pkg/crypto/x509/#pkix.RevokedCertificate"><code>pkix.RevokedCertificate</code></a>, as well as the revocation reason code.
592+
<a href="/pkg/crypto/x509/#RevocationList.RevokedCertificates"><code>RevocationList.RevokedCertificates</code></a> has been deprecated and replaced with the new <a href="/pkg/crypto/x509/#RevocationList.RevokedCertificateEntries"><code>RevokedCertificateEntries</code></a> field, which is a slice of <a href="/pkg/crypto/x509/#RevocationListEntry"><code>RevocationListEntry</code></a>. <a href="/pkg/crypto/x509/#RevocationListEntry"><code>RevocationListEntry</code></a> contains all of the fields in <a href="/pkg/crypto/x509/pkix#RevokedCertificate"><code>pkix.RevokedCertificate</code></a>, as well as the revocation reason code.
593593
</p>
594594
</dd>
595595
</dl><!-- crypto/x509 -->

0 commit comments

Comments
 (0)