Constify CMS_get0_type input
[oweals/openssl.git] / crypto / cms / cms_lib.c
index f9c73d1cbf4e88748175958803e0e99aaf4756fa..86d92996c64c39919741fe054fe2f94d7be3efa3 100644 (file)
@@ -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;
 }