diff options
| author | Alexander Scheel <alex.scheel@hashicorp.com> | 2022-11-02 11:44:41 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-14 21:26:39 +0000 |
| commit | 998c11d2187d8afaa315f58f29f80b6882d2701c (patch) | |
| tree | 4d0315e64e5c18162bdeddfa122f810af501e911 /src/net/http/httputil/reverseproxy.go | |
| parent | da564d0006e2cc286fecb3cec94ed143a2667866 (diff) | |
| download | go-998c11d2187d8afaa315f58f29f80b6882d2701c.tar.xz | |
crypto/x509: remove unused member Raw from certificate
As noticed in the review of the CRL RawIssuer updates (https://go-review.googlesource.com/c/go/+/418834), the Raw field on the internal type certificate of crypto/x509 is unused and could be removed.
From looking at encoding/asn1's implementation, it appears this field would be set on unmarshal but not during marshaling. However, we unmarshal into the x509.Certificate class directly, avoiding this internal class entirely.
Change-Id: I1ab592eb939b6fe701206ba77b6727763deaeaf0
GitHub-Last-Rev: 5272e0d369ae1b9fee350c2731a6084f41011724
GitHub-Pull-Request: golang/go#56524
Reviewed-on: https://go-review.googlesource.com/c/go/+/447215
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'src/net/http/httputil/reverseproxy.go')
0 files changed, 0 insertions, 0 deletions
