aboutsummaryrefslogtreecommitdiff
path: root/cmd/acme/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/acme/main.go')
-rw-r--r--cmd/acme/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/acme/main.go b/cmd/acme/main.go
index 1a4f4f2..a1a6870 100644
--- a/cmd/acme/main.go
+++ b/cmd/acme/main.go
@@ -23,7 +23,7 @@ func chkKey(k PrivKey) (*rsa.PrivateKey, error) {
defer fd.Close()
return acme.LoadKey(fd)
} else {
- log.Println("allocating", key, k.Size())
+ log.Println("allocating", key, k.KeySize())
if err := os.MkdirAll(path.Dir(key), 0700); err != nil {
return nil, err
}
@@ -33,7 +33,7 @@ func chkKey(k PrivKey) (*rsa.PrivateKey, error) {
return nil, err
}
defer fd.Close()
- return acme.NewKey(fd, k.Size())
+ return acme.NewKey(fd, k.KeySize())
}
}