1
0
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:
Alexander Scheel 2022-11-02 12:14:41 -04:00
parent f0f517ab4b
commit 033115dd5e

View File

@ -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