Fix typos in WithX509IntermediateCerts comment

This commit is contained in:
Mariano Cano 2022-09-23 10:55:20 -07:00
parent 8374c0d26e
commit 0bedd22850

View file

@ -246,11 +246,11 @@ func WithX509FederatedCerts(certs ...*x509.Certificate) Option {
//
// Note that these certificates will not be bundled with the certificates signed
// by the CA, because the CAS service will take care of that. They should match,
// but that's not guaranteed. These certificates will be mainly used for name
// but that's not guaranteed. These certificates will be mainly used for name
// constraint validation before a certificate is issued.
//
// This option should only be used on specific configurations, for example when
// WithX509SignerFunc is used, as we don't know the list of intermediates on
// WithX509SignerFunc is used, as we don't know the list of intermediates in
// advance.
func WithX509IntermediateCerts(intermediateCerts ...*x509.Certificate) Option {
return func(a *Authority) error {