summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-06-12 11:18:13 +0200
committerRich Salz <rsalz@openssl.org>2016-06-15 13:22:38 -0400
commitdc423f898e7d15913d31fee311502239d4167266 (patch)
treebdd7df66c1f82c37c04adfa5ffe7e7fa008d87ac /include
parent472f727c5510b95dccb1751147016ab09d1c7897 (diff)
Constify CMS_get0_type input
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1215)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/cms.h2
1 files changed, 1 insertions, 1 deletions
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);