Makes STACK_OF(SCT)* parameter of i2d_SCT_LIST const
Reviewed-by: Emilia Käsper <emilia@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
14db9bbd71
commit
eac84e8127
2 changed files with 2 additions and 2 deletions
|
@ -442,7 +442,7 @@ STACK_OF(SCT) *d2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
|
|||
return sk;
|
||||
}
|
||||
|
||||
int i2d_SCT_LIST(STACK_OF(SCT) *a, unsigned char **out)
|
||||
int i2d_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **out)
|
||||
{
|
||||
ASN1_OCTET_STRING oct;
|
||||
int len;
|
||||
|
|
|
@ -414,7 +414,7 @@ STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
|
|||
* Returns < 0 on error, >= 0 indicating bytes written (or would have been)
|
||||
* on success.
|
||||
*/
|
||||
__owur int i2d_SCT_LIST(STACK_OF(SCT) *a, unsigned char **pp);
|
||||
__owur int i2d_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp);
|
||||
|
||||
/*
|
||||
* Parses an SCT list in DER format and returns it.
|
||||
|
|
Loading…
Reference in a new issue