aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/client.go2
1 files changed, 1 insertions, 1 deletions
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
}