diff options
author | Roland Shoemaker <roland@golang.org> | 2022-06-27 18:04:56 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-06-29 17:10:00 +0000 |
commit | e6c0546c54f6f3fa7c6cb5002ecc839bc89d5d20 (patch) | |
tree | d383cc288129d89732c8a59d2f2d00989f7856b7 | |
parent | 3562977b6fe944b2c3da0455bdd6e9294c47c931 (diff) | |
download | go-e6c0546c54f6f3fa7c6cb5002ecc839bc89d5d20.tar.gz go-e6c0546c54f6f3fa7c6cb5002ecc839bc89d5d20.zip |
crypto/x509/pkix: move crl deprecation message
There was a deprecation message on RevokedCertificate which was
intended to be on CertificateList.
Change-Id: Ia378935afc75c36702e64cf33ea5c8a24c1488ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/414754
Auto-Submit: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
-rw-r--r-- | src/crypto/x509/pkix/pkix.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/x509/pkix/pkix.go b/src/crypto/x509/pkix/pkix.go index bea8fe7f75..22a50eef39 100644 --- a/src/crypto/x509/pkix/pkix.go +++ b/src/crypto/x509/pkix/pkix.go @@ -283,6 +283,8 @@ func oidInAttributeTypeAndValue(oid asn1.ObjectIdentifier, atv []AttributeTypeAn // CertificateList represents the ASN.1 structure of the same name. See RFC // 5280, section 5.1. Use Certificate.CheckCRLSignature to verify the // signature. +// +// Deprecated: x509.RevocationList should be used instead. type CertificateList struct { TBSCertList TBSCertificateList SignatureAlgorithm AlgorithmIdentifier @@ -311,8 +313,6 @@ type TBSCertificateList struct { // RevokedCertificate represents the ASN.1 structure of the same name. See RFC // 5280, section 5.1. -// -// Deprecated: x509.RevocationList should be used instead. type RevokedCertificate struct { SerialNumber *big.Int RevocationTime time.Time |