Add missing be to comment about serial number positivity

This commit is contained in:
Wesley Beary 2024-12-02 09:36:33 -06:00 committed by GitHub
parent c5adb82169
commit 74b2e89bbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1694,7 +1694,7 @@ func CreateCertificate(rand io.Reader, template, parent *Certificate, pub, priv
}
}
// RFC 5280 Section 4.1.2.2: serial number must positive
// RFC 5280 Section 4.1.2.2: serial number must be positive
//
// We _should_ also restrict serials to <= 20 octets, but it turns out a lot of people
// get this wrong, in part because the encoding can itself alter the length of the