1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:24:50 -07:00

crypto/ocsp: update for asn1 change (fix build)

TBR=gri
CC=golang-dev
https://golang.org/cl/2221044
This commit is contained in:
Russ Cox 2010-09-24 13:08:35 -04:00
parent 8206bafb22
commit d8fc38c7b8

View File

@ -127,7 +127,7 @@ func (p ParseError) String() string {
// Signature errors or parse failures will result in a ParseError.
func ParseResponse(bytes []byte) (*Response, os.Error) {
var resp responseASN1
rest, err := asn1.Unmarshal(&resp, bytes)
rest, err := asn1.Unmarshal(bytes, &resp)
if err != nil {
return nil, err
}
@ -146,7 +146,7 @@ func ParseResponse(bytes []byte) (*Response, os.Error) {
}
var basicResp basicResponse
rest, err = asn1.Unmarshal(&basicResp, resp.Response.Response)
rest, err = asn1.Unmarshal(resp.Response.Response, &basicResp)
if err != nil {
return nil, err
}