提交 5dfd0381 编写于 作者: M Matt Caswell

Fix enable-zlib

The enable-zlib option was broken by the recent "const" changes.
Reviewed-by: NStephen Henson <steve@openssl.org>
上级 68a39960
...@@ -63,7 +63,7 @@ CMS_ContentInfo *cms_CompressedData_create(int comp_nid) ...@@ -63,7 +63,7 @@ CMS_ContentInfo *cms_CompressedData_create(int comp_nid)
BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms) BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms)
{ {
CMS_CompressedData *cd; CMS_CompressedData *cd;
ASN1_OBJECT *compoid; const ASN1_OBJECT *compoid;
if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) {
CMSerr(CMS_F_CMS_COMPRESSEDDATA_INIT_BIO, CMSerr(CMS_F_CMS_COMPRESSEDDATA_INIT_BIO,
CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA); CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册