From ae4d10368ac79ac7e17dde4cdc990b6674423b99 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 20 Feb 2012 10:56:33 -0500 Subject: [PATCH] crypto/oscp: update in light of cl/5625045 R=rsc CC=golang-dev https://golang.org/cl/5608055 --- ocsp/ocsp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocsp/ocsp.go b/ocsp/ocsp.go index db05a58..c022ea2 100644 --- a/ocsp/ocsp.go +++ b/ocsp/ocsp.go @@ -111,7 +111,7 @@ func (p ParseError) Error() string { // ParseResponse parses an OCSP response in DER form. It only supports // 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. func ParseResponse(bytes []byte) (*Response, error) { var resp responseASN1