forked from TrueCloudLab/certificates
Fix comment.
This commit is contained in:
parent
3e80f41c19
commit
f1773489fc
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue