From ec6c22d70b19d1e26203d2189c1594fe6508b3b4 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Sat, 12 Jan 2019 00:17:29 +0100 Subject: [PATCH] fix: OCSP, set HTTP client. (#759) --- acme/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/api/api.go b/acme/api/api.go index e14cd993..14b18f52 100644 --- a/acme/api/api.go +++ b/acme/api/api.go @@ -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)