Updates lego.

This commit is contained in:
Ludovic Fernandez 2019-01-25 10:24:04 +01:00 committed by Traefiker Bot
parent 8c53318dac
commit e5fb1ffeb7
17 changed files with 295 additions and 19 deletions

View file

@ -44,7 +44,7 @@ func New(httpClient *http.Client, userAgent string, caDirURL, kid string, privat
jws := secure.NewJWS(privateKey, kid, nonceManager)
c := &Core{doer: doer, nonceManager: nonceManager, jws: jws, directory: dir}
c := &Core{doer: doer, nonceManager: nonceManager, jws: jws, directory: dir, HTTPClient: httpClient}
c.common.core = c
c.Accounts = (*AccountService)(&c.common)