From 5eae7e889c11b4909190bc9d19f2a1a7bafbc187 Mon Sep 17 00:00:00 2001 From: liz Date: Thu, 4 Aug 2016 11:56:40 -0400 Subject: [PATCH] Fix documentation for acme.NewClient --- acme/client.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/acme/client.go b/acme/client.go index d4febfb2..ef53d82d 100644 --- a/acme/client.go +++ b/acme/client.go @@ -58,8 +58,9 @@ type Client struct { } // NewClient creates a new ACME client on behalf of the user. The client will depend on -// the ACME directory located at caDirURL for the rest of its actions. It will -// generate private keys for certificates of size keyBits. +// the ACME directory located at caDirURL for the rest of its actions. A private +// key of type keyType (see KeyType contants) will be generated when requesting a new +// certificate if one isn't provided. func NewClient(caDirURL string, user User, keyType KeyType) (*Client, error) { privKey := user.GetPrivateKey() if privKey == nil {