1f22c0103821b9390939b6776727195525381532
Previously, OCSP errors (like “malformed request”, not “that certificate is revoked”) were intended to result in a Response being returned with Status set to ServerFailed. However, since an “optional” tag was missing in the ASN.1, a parse error was actually returned. This CL changes that behaviour so that ParseResponse will now return an error for these responses. That error will be a ResponseError, allowing callers to find the exact error code. Change-Id: I4f8ae5ba39203c2c204fb1d65471d1427bf68b25 Reviewed-on: https://go-review.googlesource.com/18944 Reviewed-by: Adam Langley <agl@golang.org>
This repository holds supplementary Go cryptography libraries. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
8.1 MiB
Languages
Go
88.6%
Assembly
11.1%
C
0.3%