From dc423f898e7d15913d31fee311502239d4167266 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Sun, 12 Jun 2016 11:18:13 +0200 Subject: Constify CMS_get0_type input Reviewed-by: Kurt Roeckx Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1215) --- include/openssl/cms.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/openssl/cms.h') diff --git a/include/openssl/cms.h b/include/openssl/cms.h index 57c877de98..b1252acd6e 100644 --- a/include/openssl/cms.h +++ b/include/openssl/cms.h @@ -73,7 +73,7 @@ DECLARE_ASN1_PRINT_FUNCTION(CMS_ContentInfo) # define CMS_KEY_PARAM 0x40000 # define CMS_ASCIICRLF 0x80000 -const ASN1_OBJECT *CMS_get0_type(CMS_ContentInfo *cms); +const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms); BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont); int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio); -- cgit v1.2.3