Commit d68e6537 authored by Steven Allen's avatar Steven Allen

crypto: make the ECDSA receiver consistent

parent 947196bb
...@@ -155,7 +155,7 @@ func (ePub *ECDSAPublicKey) Type() pb.KeyType { ...@@ -155,7 +155,7 @@ func (ePub *ECDSAPublicKey) Type() pb.KeyType {
} }
// Raw returns x509 bytes from a public key // 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) return x509.MarshalPKIXPublicKey(ePub.pub)
} }
......
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