aboutsummaryrefslogtreecommitdiff
path: root/ask/ask.go
diff options
context:
space:
mode:
Diffstat (limited to 'ask/ask.go')
-rw-r--r--ask/ask.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ask/ask.go b/ask/ask.go
index 205ad4c..f021ffd 100644
--- a/ask/ask.go
+++ b/ask/ask.go
@@ -28,7 +28,7 @@ func (Passphrase) Derive(salt []byte, rounds int, length int) ([]byte, error) {
if err != nil {
return nil, err
}
- return bhash.Pbkdf([]byte(pass), salt, rounds, length), nil
+ return bhash.Pbkdf([]byte(pass), salt, rounds, length)
}
type Confirmed struct{}
@@ -38,7 +38,7 @@ func (Confirmed) Derive(salt []byte, rounds int, length int) ([]byte, error) {
if err != nil {
return nil, err
}
- return bhash.Pbkdf([]byte(pass), salt, rounds, length), nil
+ return bhash.Pbkdf([]byte(pass), salt, rounds, length)
}
// confirmed asks for password twice