From: Matt Caswell Date: Fri, 19 Aug 2016 23:12:16 +0000 (+0100) Subject: Fix enable-zlib X-Git-Tag: OpenSSL_1_1_0~100 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5dfd03812c54ca72d5e4f3d866f270257e6af082;p=oweals%2Fopenssl.git Fix enable-zlib The enable-zlib option was broken by the recent "const" changes. Reviewed-by: Stephen Henson --- diff --git a/crypto/cms/cms_cd.c b/crypto/cms/cms_cd.c index c0cb368d0f..f05e308418 100644 --- a/crypto/cms/cms_cd.c +++ b/crypto/cms/cms_cd.c @@ -63,7 +63,7 @@ CMS_ContentInfo *cms_CompressedData_create(int comp_nid) BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms) { CMS_CompressedData *cd; - ASN1_OBJECT *compoid; + const ASN1_OBJECT *compoid; if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { CMSerr(CMS_F_CMS_COMPRESSEDDATA_INIT_BIO, CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA);