crypto: make the ECDSA receiver consistent

This commit is contained in:
Steven Allen 2019-09-24 10:34:34 -07:00
parent 947196bbb7
commit d68e65376d

View File

@ -155,7 +155,7 @@ func (ePub *ECDSAPublicKey) Type() pb.KeyType {
}
// Raw returns x509 bytes from a public key
func (ePub ECDSAPublicKey) Raw() ([]byte, error) {
func (ePub *ECDSAPublicKey) Raw() ([]byte, error) {
return x509.MarshalPKIXPublicKey(ePub.pub)
}