summaryrefslogtreecommitdiffstats
path: root/crypto/cms
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-03-07 14:14:30 +0000
committerMatt Caswell <matt@openssl.org>2019-03-08 16:06:26 +0000
commit0fc4d00a00e5d25ce202e69414432a07c9e74502 (patch)
tree7b6faf2de53786322d26cb3ab9f0866721126c5a /crypto/cms
parentf0e4a860d0b350e10a1ee3898445cac85af8ea16 (diff)
Change arg to cms_CompressedData_init_bio to be const
The argument to this function is declared const in the header file. However the implementation did not have this. This issue is only visible when using enable-zlib. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8433)
Diffstat (limited to 'crypto/cms')
-rw-r--r--crypto/cms/cms_cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cms/cms_cd.c b/crypto/cms/cms_cd.c
index 93862730ba..5a11928e30 100644
--- a/crypto/cms/cms_cd.c
+++ b/crypto/cms/cms_cd.c
@@ -60,7 +60,7 @@ CMS_ContentInfo *cms_CompressedData_create(int comp_nid)
return NULL;
}
-BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms)
+BIO *cms_CompressedData_init_bio(const CMS_ContentInfo *cms)
{
CMS_CompressedData *cd;
const ASN1_OBJECT *compoid;