aboutsummaryrefslogtreecommitdiff
path: root/signer.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-16 21:36:41 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-16 21:36:41 +0100
commit44203fdb737dab1c7e4aa9320e108e2426e509fd (patch)
tree72941921702ae4328695215c64783bbc6fdc0acd /signer.go
parenta881f863e9808821189c4e84ed119798cb3b5cd8 (diff)
Add more key types
Diffstat (limited to 'signer.go')
-rw-r--r--signer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/signer.go b/signer.go
index a513d6e..2ee0ed4 100644
--- a/signer.go
+++ b/signer.go
@@ -48,7 +48,7 @@ func NewSigner(privKey crypto.PrivateKey) (*Signer, error) {
}
return &Signer{signer: s, thumb: t}, nil
default:
- return nil, errKeyType
+ return nil, ErrKeyType
}
}