From 5cce667a8b4a63b3a01c606ca423e96e23afde6a Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 10 Nov 2020 20:08:29 +0100 Subject: minor refactoring --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/client.go b/client/client.go index 4658a25..9462e0c 100644 --- a/client/client.go +++ b/client/client.go @@ -46,7 +46,7 @@ func NewClient(log *descriptor.Log, client *http.Client, useHttp bool, chain []* // private key, and a json-encoded list of log operators (see descriptor). // Chain and key paths may be left out by passing the empty string: "". func NewClientFromPath(logId, chainPath, keyPath, operatorsPath string, cli *http.Client, useHttp bool) (*Client, error) { - c, err := x509util.LoadChain(chainPath) + c, err := x509util.LoadCertificates(chainPath) if err != nil && chainPath != "" { return nil, err } -- cgit v1.2.3