diff options
author | Filippo Valsorda <filippo@golang.org> | 2021-01-05 20:52:00 +0100 |
---|---|---|
committer | Filippo Valsorda <filippo@golang.org> | 2021-01-06 21:24:47 +0000 |
commit | 4787e906cff56ae23028df12c68331745651ec9e (patch) | |
tree | b93087e10b06c37839f1d0440a3767856d028dda /doc | |
parent | c9658bee93c169f6efd4654576bf8e9a920ec1de (diff) | |
download | go-4787e906cff56ae23028df12c68331745651ec9e.tar.gz go-4787e906cff56ae23028df12c68331745651ec9e.zip |
crypto/x509: rollback new CertificateRequest fields
In general, we don't want to encourage reading them from CSRs, and
applications that really want to can parse the Extensions field.
Note that this also fixes a bug where the error of
parseKeyUsageExtension was not handled in parseCertificateRequest.
Fixes #43477
Updates #37172
Change-Id: Ia5707b0e23cecc0aed57e419a1ca25e26eea6bbe
Reviewed-on: https://go-review.googlesource.com/c/go/+/281235
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.16.html | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/go1.16.html b/doc/go1.16.html index 0c2921fe6b..f0dbee7b89 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -590,14 +590,6 @@ func TestFoo(t *testing.T) { a malformed certificate. </p> - <p><!-- CL 233163 --> - A number of additional fields have been added to the - <a href="/pkg/crypto/x509/#CertificateRequest"><code>CertificateRequest</code></a> type. - These fields are now parsed in <a href="/pkg/crypto/x509/#ParseCertificateRequest"> - <code>ParseCertificateRequest</code></a> and marshalled in - <a href="/pkg/crypto/x509/#CreateCertificateRequest"><code>CreateCertificateRequest</code></a>. - </p> - <p><!-- CL 257939 --> DSA signature verification is no longer supported. Note that DSA signature generation was never supported. |