Hello,

I am sending patch that we have applied to the distribution of OpenSSL.

Regards
Libor Krystek

diff -uNr openssl-1.0.1g/crypto/cms/cms_lcl.h 
openssl-1.0.1g-ICA/crypto/cms/cms_lcl.h
--- openssl-1.0.1g/crypto/cms/cms_lcl.h 2014-03-17 17:14:20.000000000 +0100
+++ openssl-1.0.1g-ICA/crypto/cms/cms_lcl.h     2014-05-23 12:01:00.000000000 
+0200
@@ -418,7 +418,7 @@
 DECLARE_ASN1_ITEM(CMS_Attributes_Verify)
 DECLARE_ASN1_ITEM(CMS_RecipientInfo)
 DECLARE_ASN1_ITEM(CMS_PasswordRecipientInfo)
-DECLARE_ASN1_ALLOC_FUNCTIONS(CMS_IssuerAndSerialNumber)
+/* DECLARE_ASN1_ALLOC_FUNCTIONS(CMS_IssuerAndSerialNumber) */
 
 #define CMS_SIGNERINFO_ISSUER_SERIAL   0
 #define CMS_SIGNERINFO_KEYIDENTIFIER   1
@@ -442,8 +442,10 @@
                                        X509_NAME **issuer, ASN1_INTEGER **sno);
 int cms_SignerIdentifier_cert_cmp(CMS_SignerIdentifier *sid, X509 *cert);
 
+#ifdef ZLIB
 CMS_ContentInfo *cms_CompressedData_create(int comp_nid);
 BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms);
+#endif
 
 void cms_DigestAlgorithm_set(X509_ALGOR *alg, const EVP_MD *md);
 BIO *cms_DigestAlgorithm_init_bio(X509_ALGOR *digestAlgorithm);

Reply via email to