diff options
Diffstat (limited to 'client/httpsclient_test.go')
-rw-r--r-- | client/httpsclient_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/httpsclient_test.go b/client/httpsclient_test.go index d220171..49152de 100644 --- a/client/httpsclient_test.go +++ b/client/httpsclient_test.go @@ -123,7 +123,7 @@ func setupWithRequests(t *testing.T, caFile, caPath, clientCAPath, clientCertPat url := testserver.StartHttpsServer(t, requests, clientCAPath) - var opts []HTTPClientOpt + opts := defaultHttpOpts if clientCertPath != "" && clientKeyPath != "" { opts = append(opts, WithClientCert(clientCertPath, clientKeyPath)) } |