Skip to content

Commit

Permalink
client/ctclient: Fix doubled https in --log_name (#990)
Browse files Browse the repository at this point in the history
* client/ctclient: Fix doubled https in --log_name

The URL format in v1 and v3 log lists was different - v1 doesn't include the https:// protocol, but v3 does.

* Add self to CONTRIBUTORS and AUTHORS
  • Loading branch information
acohn authored Oct 25, 2022
1 parent 50ef850 commit 52d9f96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Please keep the list sorted.

Alex Cohn <alex@alexcohn.com>
Comodo CA Limited
Ed Maste <emaste@freebsd.org>
Fiaz Hossain <fiaz.hossain@salesforce.com>
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

Adam Eijdenberg <eijdenberg@google.com> <adam.eijdenberg@gmail.com>
Al Cutter <al@google.com>
Alex Cohn <alex@alexcohn.com>
Ben Laurie <benl@google.com> <ben@links.org>
Chris Kennelly <ckennelly@google.com> <ckennelly@ckennelly.com>
David Drysdale <drysdale@google.com>
Expand Down
2 changes: 1 addition & 1 deletion client/ctclient/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func connect(ctx context.Context) *client.LogClient {
}
klog.Exitf("Multiple logs with name like %q found in loglist: %s", logName, strings.Join(logNames, ","))
}
uri = "https://" + logs[0].URL
uri = logs[0].URL
if opts.PublicKey == "" {
opts.PublicKeyDER = logs[0].Key
}
Expand Down

0 comments on commit 52d9f96

Please sign in to comment.