aboutsummaryrefslogtreecommitdiff
path: root/cmd/acmed/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/acmed/main.go')
-rw-r--r--cmd/acmed/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/acmed/main.go b/cmd/acmed/main.go
index 6963238..5b69327 100644
--- a/cmd/acmed/main.go
+++ b/cmd/acmed/main.go
@@ -29,7 +29,7 @@ func newKey(w io.Writer, size int) (*rsa.PrivateKey, error) {
return key, pem.Encode(w, block)
}
-func chkKey(k Keychain) (*rsa.PrivateKey, error) {
+func chkKey(k PrivKey) (*rsa.PrivateKey, error) {
key := k.Path()
flags := os.O_WRONLY | os.O_CREATE | os.O_TRUNC
if _, err := os.Stat(key); os.IsNotExist(err) {