aboutsummaryrefslogtreecommitdiff
path: root/x509.go
diff options
context:
space:
mode:
Diffstat (limited to 'x509.go')
-rw-r--r--x509.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/x509.go b/x509.go
index 014344d..16cc8c6 100644
--- a/x509.go
+++ b/x509.go
@@ -170,9 +170,9 @@ func buildChainFromB64List(lp *LogParameters, b64chain []string) ([]*x509.Certif
}
opts := x509.VerifyOptions{
- Roots: lp.AnchorPool,
+ Roots: lp.AnchorPool,
Intermediates: intermediatePool,
- KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageAny}, // TODO: move to ld
+ KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageAny}, // TODO: move to ld
}
chains, err := certificate.Verify(opts)