Skip to content

Commit

Permalink
migrate options to local certPool
Browse files Browse the repository at this point in the history
# Conflicts:
#	internal/x509util/verify.go
  • Loading branch information
phbnf committed Feb 25, 2025
1 parent 7f51119 commit 5f593b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/x509util/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ type VerifyOptions struct {
// Intermediates is an optional pool of certificates that are not trust
// anchors, but can be used to form a chain from the leaf certificate to a
// root certificate.
Intermediates *x509.CertPool
Intermediates *CertPool
// Roots is the set of trusted root certificates the leaf certificate needs
// to chain up to. If nil, the system roots or the platform verifier are used.
Roots *x509.CertPool
Roots *CertPool
// KeyUsages specifies which Extended Key Usage values are acceptable. A
// chain is accepted if it allows any of the listed values. An empty list
// means ExtKeyUsageServerAuth. To accept any key usage, include ExtKeyUsageAny.
Expand Down

0 comments on commit 5f593b1

Please sign in to comment.