Commit 0fc4d00a authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8433)
parent f0e4a860
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;