forked from TrueCloudLab/lego
fix: OCSP, set HTTP client. (#759)
This commit is contained in:
parent
38f335dbe1
commit
ec6c22d70b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue