From 0fc4d00a00e5d25ce202e69414432a07c9e74502 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 7 Mar 2019 14:14:30 +0000 Subject: [PATCH] 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 (Merged from https://github.com/openssl/openssl/pull/8433) --- crypto/cms/cms_cd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1