crypto/oscp: update in light of cl/5625045
R=rsc CC=golang-dev https://golang.org/cl/5608055
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ func (p ParseError) Error() string {
|
|||||||
|
|
||||||
// ParseResponse parses an OCSP response in DER form. It only supports
|
// ParseResponse parses an OCSP response in DER form. It only supports
|
||||||
// responses for a single certificate and only those using RSA signatures.
|
// responses for a single certificate and only those using RSA signatures.
|
||||||
// Non-RSA responses will result in an x509.UnsupportedAlgorithmError.
|
// Non-RSA responses will result in x509.ErrUnsupportedAlgorithm.
|
||||||
// Signature errors or parse failures will result in a ParseError.
|
// Signature errors or parse failures will result in a ParseError.
|
||||||
func ParseResponse(bytes []byte) (*Response, error) {
|
func ParseResponse(bytes []byte) (*Response, error) {
|
||||||
var resp responseASN1
|
var resp responseASN1
|
||||||
|
|||||||
Reference in New Issue
Block a user