summaryrefslogtreecommitdiffstats
path: root/crypto/cms
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-08-20 00:12:16 +0100
committerMatt Caswell <matt@openssl.org>2016-08-22 09:43:13 +0100
commit5dfd03812c54ca72d5e4f3d866f270257e6af082 (patch)
treeeae5bef3478c5d0641522746caafcc096b6899bc /crypto/cms
parent68a39960a7a46545419fa7447291fad2e4c483f2 (diff)
Fix enable-zlib
The enable-zlib option was broken by the recent "const" changes. Reviewed-by: Stephen Henson <steve@openssl.org>
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 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);