d172538b2c
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> |
||
---|---|---|
.. | ||
ocsp.go | ||
ocsp_test.go |