[openssl] master update
Matt Caswell
matt at openssl.org
Fri Mar 8 16:11:22 UTC 2019
The branch master has been updated
via 0fc4d00a00e5d25ce202e69414432a07c9e74502 (commit)
from f0e4a860d0b350e10a1ee3898445cac85af8ea16 (commit)
- Log -----------------------------------------------------------------
commit 0fc4d00a00e5d25ce202e69414432a07c9e74502
Author: Matt Caswell <matt at openssl.org>
Date: Thu Mar 7 14:14:30 2019 +0000
Change arg to cms_CompressedData_init_bio to be const
The argument to this function is declared const in the header file. However
the implementation did not have this. This issue is only visible when using
enable-zlib.
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8433)
-----------------------------------------------------------------------
Summary of changes:
crypto/cms/cms_cd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/cms/cms_cd.c b/crypto/cms/cms_cd.c
index 9386273..5a11928 100644
--- a/crypto/cms/cms_cd.c
+++ b/crypto/cms/cms_cd.c
@@ -60,7 +60,7 @@ CMS_ContentInfo *cms_CompressedData_create(int comp_nid)
return NULL;
}
-BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms)
+BIO *cms_CompressedData_init_bio(const CMS_ContentInfo *cms)
{
CMS_CompressedData *cd;
const ASN1_OBJECT *compoid;
More information about the openssl-commits
mailing list