aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.go
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2015-03-15 20:06:09 +0100
committerGibheer <gibheer@gmail.com>2015-03-15 20:06:09 +0100
commit4157d8e07abed02ff4b3dd5575e70252331b2d67 (patch)
treef06a47c52c2573b5f22722de281f80d42761933b /ecdsa.go
parent2fa7332719bafb33ad6cb212f9c567b23ed4082d (diff)
make raw private key public
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
}