aboutsummaryrefslogtreecommitdiff
path: root/client/get-proof-by-hash/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/get-proof-by-hash/main.go')
-rw-r--r--client/get-proof-by-hash/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/get-proof-by-hash/main.go b/client/get-proof-by-hash/main.go
index 04dd7dc..964bcda 100644
--- a/client/get-proof-by-hash/main.go
+++ b/client/get-proof-by-hash/main.go
@@ -16,7 +16,6 @@ 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")
signedTreeHead = flag.String("sth", "AAEgB9oCJk4XIOMXba8dBM5yUj+NLtqTE6xHwbvR9dYkHPMAAAF1jnn7fwAAAAAAAAAxICCqLJn4QWYd0aRIRjDWGf4GWalDIb/iH60jSSX89WgvAAAAQF9XPFRdM56KaelHFFg1RqjTw1yFL085zHhdNkLeZh9BCXxVTByqrHEMngAkY69EX45aJMWh9NymmPau0qoigA8=", "base64-encoded StItem of type StFormatSignedTreeHeadV1")
entry = flag.String("entry", "AAUBOCAsYkIyzdIhdxKU37sxCsoACg32rItmtpbZDvBv3vtkow==", "base64-encoded StItem of type StFormatChecksumV1")
)
@@ -24,7 +23,7 @@ var (
func main() {
flag.Parse()
- cli, err := client.NewClientFromPath(*logId, *chain, "", *operators, &http.Client{}, true)
+ cli, err := client.NewClientFromPath(*logId, "", "", *operators, &http.Client{}, true)
if err != nil {
glog.Fatal(err)
}