aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ct/ct_oct.c
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-08 19:20:22 +0000
committerRich Salz <rsalz@openssl.org>2016-03-09 11:34:48 -0500
commiteac84e8127154fc4c19d1602e3f1df985ed77eff (patch)
tree56a3fb6c2febb787f6abd488b7ff9c11e6cfb538 /crypto/ct/ct_oct.c
parent14db9bbd710ac8aaaee89280e9b5ffb5afedb712 (diff)
downloadopenssl-eac84e8127154fc4c19d1602e3f1df985ed77eff.tar.gz
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>
Diffstat (limited to 'crypto/ct/ct_oct.c')
-rw-r--r--crypto/ct/ct_oct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ct/ct_oct.c b/crypto/ct/ct_oct.c
index d9fa68afa8..620edab038 100644
--- a/crypto/ct/ct_oct.c
+++ b/crypto/ct/ct_oct.c
@@ -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;