Fix typos in WithX509IntermediateCerts comment
This commit is contained in:
parent
8374c0d26e
commit
0bedd22850
1 changed files with 2 additions and 2 deletions
|
@ -246,11 +246,11 @@ func WithX509FederatedCerts(certs ...*x509.Certificate) Option {
|
||||||
//
|
//
|
||||||
// Note that these certificates will not be bundled with the certificates signed
|
// 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,
|
// 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.
|
// constraint validation before a certificate is issued.
|
||||||
//
|
//
|
||||||
// This option should only be used on specific configurations, for example when
|
// 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.
|
// advance.
|
||||||
func WithX509IntermediateCerts(intermediateCerts ...*x509.Certificate) Option {
|
func WithX509IntermediateCerts(intermediateCerts ...*x509.Certificate) Option {
|
||||||
return func(a *Authority) error {
|
return func(a *Authority) error {
|
||||||
|
|
Loading…
Add table
Reference in a new issue