aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-06 16:54:05 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-06 16:54:05 +0100
commit7019369606cd9e318e24d88f67784915ef9701ac (patch)
treef1f08cdc6932b7ae27b4b3bf372d094f05975f27 /cmd
parentaa171210937ad0d5cb4a0f4069061b6f78686197 (diff)
Minor changes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/acme/main.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/cmd/acme/main.go b/cmd/acme/main.go
index 687fd6f..859dc5a 100644
--- a/cmd/acme/main.go
+++ b/cmd/acme/main.go
@@ -15,12 +15,8 @@ func must(err error) {
}
}
-const (
- eMail = `another@example.com`
- keySize = 2048
-)
-
var (
+ config = flag.String("config", "acme.toml", "configuration file")
server = flag.String("server", acme.LEStaging, "directory server")
port = flag.Int("port", 8443, "port to listen")
)
@@ -30,7 +26,7 @@ func init() {
}
func main() {
- acc, err := acme.NewAccount(eMail, keySize)
+ acc, err := acme.NewAccount("another@example.com", acme.KeySize)
must(err)
acme.Print(acc)
//acme.Dump(acc)