aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'account.go')
-rw-r--r--account.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/account.go b/account.go
index eebe2de..48849c4 100644
--- a/account.go
+++ b/account.go
@@ -7,7 +7,6 @@ import (
"crypto/rsa"
"encoding/base64"
"encoding/json"
- "errors"
"io"
"strings"
@@ -48,7 +47,7 @@ func newAccount(key crypto.PrivateKey) (*Account, error) {
signer, err := jose.NewSigner(jose.ES384, k)
return &Account{key: k, signer: signer}, err
default:
- return nil, errors.New("unknown key type")
+ return nil, errKeyType
}
}