mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Add missing be to comment about serial number positivity
This commit is contained in:
parent
c5adb82169
commit
74b2e89bbd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue