mirror of
https://github.com/golang/go
synced 2024-11-17 12:04:43 -07:00
Add comment on utility of tbsCertificateList.Raw
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
This commit is contained in:
parent
f0f517ab4b
commit
033115dd5e
@ -2264,6 +2264,9 @@ func CreateRevocationList(rand io.Reader, template *RevocationList, issuer *Cert
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Optimization to only marshal this struct once, when signing and
|
||||
// then embedding in certificateList below.
|
||||
tbsCertList.Raw = tbsCertListContents
|
||||
|
||||
input := tbsCertListContents
|
||||
|
Loading…
Reference in New Issue
Block a user