From 4157d8e07abed02ff4b3dd5575e70252331b2d67 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Sun, 15 Mar 2015 20:06:09 +0100 Subject: make raw private key public --- rsa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsa.go') diff --git a/rsa.go b/rsa.go index 410b9f7..ac649b7 100644 --- a/rsa.go +++ b/rsa.go @@ -46,7 +46,7 @@ func (pr RsaPrivateKey) Sign(message []byte, hash crypto.Hash) ([]byte, error) { } // get the private key -func (pr RsaPrivateKey) privateKey() crypto.PrivateKey { +func (pr RsaPrivateKey) PrivateKey() crypto.PrivateKey { return pr.private_key } -- cgit v1.2.3-70-g09d2