Commit d8fc38c7 authored by Russ Cox's avatar Russ Cox

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

TBR=gri
CC=golang-dev
https://golang.org/cl/2221044
parent 8206bafb
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment