[openssl-commits] [openssl] master update

Dr. Stephen Henson steve at openssl.org
Fri Sep 11 22:41:49 UTC 2015


The branch master has been updated
       via  bc2a15cdfb5a5a91b9166371b41b7e0c71e547c6 (commit)
      from  03706afa30aeb4407287171a9d6f9a765395d0a2 (commit)


- Log -----------------------------------------------------------------
commit bc2a15cdfb5a5a91b9166371b41b7e0c71e547c6
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Fri Sep 11 23:10:29 2015 +0100

    Fix zlib CMS compilation.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/cms/cms_asn1.c | 2 +-
 crypto/cms/cms_cd.c   | 2 --
 crypto/cms/cms_lcl.h  | 1 +
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/crypto/cms/cms_asn1.c b/crypto/cms/cms_asn1.c
index 2bd3954..e044cf5 100644
--- a/crypto/cms/cms_asn1.c
+++ b/crypto/cms/cms_asn1.c
@@ -305,7 +305,7 @@ ASN1_NDEF_SEQUENCE(CMS_CompressedData) = {
         ASN1_SIMPLE(CMS_CompressedData, version, LONG),
         ASN1_SIMPLE(CMS_CompressedData, compressionAlgorithm, X509_ALGOR),
         ASN1_SIMPLE(CMS_CompressedData, encapContentInfo, CMS_EncapsulatedContentInfo),
-} static_ASN1_NDEF_SEQUENCE_END(CMS_CompressedData)
+} ASN1_NDEF_SEQUENCE_END(CMS_CompressedData)
 
 /* This is the ANY DEFINED BY table for the top level ContentInfo structure */
 
diff --git a/crypto/cms/cms_cd.c b/crypto/cms/cms_cd.c
index 889133e..81cc6c5 100644
--- a/crypto/cms/cms_cd.c
+++ b/crypto/cms/cms_cd.c
@@ -64,8 +64,6 @@
 #endif
 #include "cms_lcl.h"
 
-DECLARE_ASN1_ITEM(CMS_CompressedData)
-
 #ifdef ZLIB
 
 /* CMS CompressedData Utilities */
diff --git a/crypto/cms/cms_lcl.h b/crypto/cms/cms_lcl.h
index 5b0551c..227356b 100644
--- a/crypto/cms/cms_lcl.h
+++ b/crypto/cms/cms_lcl.h
@@ -479,6 +479,7 @@ DECLARE_ASN1_ITEM(CMS_RecipientEncryptedKey)
 DECLARE_ASN1_ITEM(CMS_RecipientKeyIdentifier)
 DECLARE_ASN1_ITEM(CMS_RevocationInfoChoice)
 DECLARE_ASN1_ITEM(CMS_SignedData)
+DECLARE_ASN1_ITEM(CMS_CompressedData)
 
 #ifdef  __cplusplus
 }


More information about the openssl-commits mailing list