mirror of
https://github.com/golang/go
synced 2024-09-29 20:24:34 -06: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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Optimization to only marshal this struct once, when signing and
|
||||||
|
// then embedding in certificateList below.
|
||||||
tbsCertList.Raw = tbsCertListContents
|
tbsCertList.Raw = tbsCertListContents
|
||||||
|
|
||||||
input := tbsCertListContents
|
input := tbsCertListContents
|
||||||
|
Loading…
Reference in New Issue
Block a user