summaryrefslogtreecommitdiffstats
path: root/crypto/cms
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 /crypto/cms
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 'crypto/cms')
-rw-r--r--crypto/cms/cms_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cms/cms_lib.c b/crypto/cms/cms_lib.c
index f9c73d1cbf..86d92996c6 100644
--- a/crypto/cms/cms_lib.c
+++ b/crypto/cms/cms_lib.c
@@ -19,7 +19,7 @@
IMPLEMENT_ASN1_FUNCTIONS(CMS_ContentInfo)
IMPLEMENT_ASN1_PRINT_FUNCTION(CMS_ContentInfo)
-const ASN1_OBJECT *CMS_get0_type(CMS_ContentInfo *cms)
+const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms)
{
return cms->contentType;
}