aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-04-19 14:41:08 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-04-19 14:41:08 +0200
commit40e0295f4cce9e42a40384f7bc2eb6806171ff58 (patch)
tree99bae4206871eb26c2749fa4a5a05452368f6759 /main.go
parente913ae859b4324fe11b0256b9520ff4f51e7498a (diff)
kiss
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 2321472..08e9cd9 100644
--- a/main.go
+++ b/main.go
@@ -70,7 +70,7 @@ func Generate(pubFile, secFile, comment string, rounds int) error {
}
if rounds > 0 {
- pass, err := AskPassword(nil, true)
+ pass, err := AskPassword(true)
if err != nil {
return err
}
@@ -115,7 +115,7 @@ func OpenSec(fname string) (*EncKey, error) {
return nil, err
}
if encKey.KDFRounds > 0 {
- pass, err := AskPassword(nil, false)
+ pass, err := AskPassword(false)
if err != nil {
return nil, err
}