aboutsummaryrefslogtreecommitdiff
path: root/client/client.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-10 20:08:29 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-10 20:08:29 +0100
commit5cce667a8b4a63b3a01c606ca423e96e23afde6a (patch)
tree36296e84392b5066121792338d5a329182df9367 /client/client.go
parent998b68425f2c5e09ac37d864dfc3ead2b7163e09 (diff)
minor refactoring
Diffstat (limited to 'client/client.go')
-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
}