173ce04bfaf66c7bb0fa9d5c0bfd93e773909dbd
The current implementation is not compliant with the ASN.1 structure for an OCSP response in RFC 6960. In the RFC, the "revoked" field is marked "implicit". The "explicit" tag in the current struct causes the encoder to emit an additional SEQUENCE, which cases some parsers (notably OpenSSL) to reject OCSP responses as malformed. This patch simply removes the "explicit" tag, so that the emitted DER is compliant with the RFC. Change-Id: Ifa65a73a8d24f08fe3c2794309df772edc8bb114 Reviewed-on: https://go-review.googlesource.com/13572 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%