|
|
@ -322,6 +322,13 @@ func (c *ClientHandler) ResponseData(ctx context.Context, in <-chan []byte, resp
|
|
|
|
return fmt.Errorf("could not unmarshal fetch CRL response data: %w", err)
|
|
|
|
return fmt.Errorf("could not unmarshal fetch CRL response data: %w", err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
response.Response = &resp
|
|
|
|
|
|
|
|
case messages.RespSignCertificate:
|
|
|
|
|
|
|
|
var resp messages.SignCertificateResponse
|
|
|
|
|
|
|
|
if err := msgpack.Unmarshal(frame, &resp); err != nil {
|
|
|
|
|
|
|
|
return fmt.Errorf("could not unmarshal sign certificate response data: %w", err)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
response.Response = &resp
|
|
|
|
response.Response = &resp
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return fmt.Errorf("unhandled response code %s", response.Announce.Code)
|
|
|
|
return fmt.Errorf("unhandled response code %s", response.Announce.Code)
|
|
|
|