aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.go
diff options
context:
space:
mode:
Diffstat (limited to 'ecdsa.go')
-rw-r--r--ecdsa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecdsa.go b/ecdsa.go
index 42c5cf1..2a5279e 100644
--- a/ecdsa.go
+++ b/ecdsa.go
@@ -63,7 +63,7 @@ func (pr EcdsaPrivateKey) Sign(message []byte, hash crypto.Hash) ([]byte, error)
}
// get the private key
-func (pr EcdsaPrivateKey) privateKey() crypto.PrivateKey {
+func (pr EcdsaPrivateKey) PrivateKey() crypto.PrivateKey {
return pr.private_key
}