d172538b2cfce0c13cee31e647d0367aa8cd2486
This change add a function select to correct response from a responder that includes multiple certificates in the case the server uses response pre-generation. RFC6960 section 4.2.2 states: "The response MUST include a SingleResponse for each certificate in the request. The response SHOULD NOT include any additional SingleResponse elements, but, for example, OCSP responders that pre-generate status responses might include additional SingleResponse elements if necessary to improve response pre-generation performance or cache efficiency (according to [RFC5019], Section 2.2.1)." Change-Id: I39eeaa3daf16a7d7eb030e34229f16cf4295f9d7 Reviewed-on: https://go-review.googlesource.com/10611 Reviewed-by: Russ Cox <rsc@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%