From da6392a7ca65599e950542dc59e62ea3713947f1 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Thu, 5 Nov 2020 17:19:55 +0100 Subject: allowed client configuration without certificate chain --- client/get-sth/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client') diff --git a/client/get-sth/main.go b/client/get-sth/main.go index 7bfcc71..d13746b 100644 --- a/client/get-sth/main.go +++ b/client/get-sth/main.go @@ -14,13 +14,12 @@ import ( var ( operators = flag.String("operators", "../../descriptor/stfe.json", "path to json-encoded list of log operators") logId = flag.String("log_id", "B9oCJk4XIOMXba8dBM5yUj+NLtqTE6xHwbvR9dYkHPM=", "base64-encoded log identifier") - chain = flag.String("chain", "../../server/testdata/x509/end-entity.pem", "path to pem-encoded certificate chain that the log accepts") ) func main() { flag.Parse() - client, err := client.NewClientFromPath(*logId, *chain, "", *operators, &http.Client{}, true) + client, err := client.NewClientFromPath(*logId, "", "", *operators, &http.Client{}, true) if err != nil { glog.Fatal(err) } -- cgit v1.2.3