提交 eac84e81 编写于 作者: R Rob Percival 提交者: Rich Salz

Makes STACK_OF(SCT)* parameter of i2d_SCT_LIST const

Reviewed-by: NEmilia Käsper <emilia@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 14db9bbd
...@@ -442,7 +442,7 @@ STACK_OF(SCT) *d2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp, ...@@ -442,7 +442,7 @@ STACK_OF(SCT) *d2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
return sk; 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; ASN1_OCTET_STRING oct;
int len; int len;
......
...@@ -414,7 +414,7 @@ STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp, ...@@ -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) * Returns < 0 on error, >= 0 indicating bytes written (or would have been)
* on success. * 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. * Parses an SCT list in DER format and returns it.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册