Fix comment.

This commit is contained in:
Mariano Cano 2020-07-31 10:45:59 -07:00
parent 3e80f41c19
commit f1773489fc

View file

@ -301,8 +301,8 @@ func (o *order) finalize(db nosql.DB, csr *x509.CertificateRequest, auth SignAut
// Validate identifier names against CSR alternative names.
//
// Note that with certificate templates we are not going to check for the no
// presence of other SANs as they will only be set if the templates allows
// Note that with certificate templates we are not going to check for the
// absence of other SANs as they will only be set if the templates allows
// them.
if len(csr.DNSNames) != len(orderNames) {
return nil, BadCSRErr(errors.Errorf("CSR names do not match identifiers exactly: CSR names = %v, Order names = %v", csr.DNSNames, orderNames))