Fix comment typos.

This commit is contained in:
Mariano Cano 2021-08-23 15:18:54 -07:00
parent b1f59586ab
commit 61b8bfda1a

View file

@ -117,7 +117,7 @@ func (a *Authority) Export() (c *linkedca.Configuration, err error) {
if !ok { if !ok {
return nil, errors.Errorf("unknown certificate issuer type %s", iss.Type) return nil, errors.Errorf("unknown certificate issuer type %s", iss.Type)
} }
// The exporte certificate issuer should not include the password. // The exported certificate issuer should not include the password.
c.Authority.CertificateIssuer = &linkedca.CertificateIssuer{ c.Authority.CertificateIssuer = &linkedca.CertificateIssuer{
Type: linkedca.CertificateIssuer_Type(typ), Type: linkedca.CertificateIssuer_Type(typ),
Provisioner: iss.Provisioner, Provisioner: iss.Provisioner,
@ -150,7 +150,7 @@ func (a *Authority) Export() (c *linkedca.Configuration, err error) {
} }
// global claims // global claims
c.Authority.Claims = claimsToLinkedca(a.config.AuthorityConfig.Claims) c.Authority.Claims = claimsToLinkedca(a.config.AuthorityConfig.Claims)
// Distiguised names template // Distinguished names template
if v := a.config.AuthorityConfig.Template; v != nil { if v := a.config.AuthorityConfig.Template; v != nil {
c.Authority.Template = &linkedca.DistinguishedName{ c.Authority.Template = &linkedca.DistinguishedName{
Country: v.Country, Country: v.Country,