Przeglądaj źródła

Fix typos in WithX509IntermediateCerts comment

Mariano Cano 4 lat temu
rodzic
commit
0bedd22850
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      authority/options.go

+ 2 - 2
authority/options.go

@@ -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 {