summaryrefslogtreecommitdiffstats
path: root/crypto/cms/cms_dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cms/cms_dd.c')
-rw-r--r--crypto/cms/cms_dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cms/cms_dd.c b/crypto/cms/cms_dd.c
index 0227180ffb..8bdbdfde21 100644
--- a/crypto/cms/cms_dd.c
+++ b/crypto/cms/cms_dd.c
@@ -45,14 +45,14 @@ CMS_ContentInfo *cms_DigestedData_create(const EVP_MD *md)
return NULL;
}
-BIO *cms_DigestedData_init_bio(CMS_ContentInfo *cms)
+BIO *cms_DigestedData_init_bio(const CMS_ContentInfo *cms)
{
CMS_DigestedData *dd;
dd = cms->d.digestedData;
return cms_DigestAlgorithm_init_bio(dd->digestAlgorithm);
}
-int cms_DigestedData_do_final(CMS_ContentInfo *cms, BIO *chain, int verify)
+int cms_DigestedData_do_final(const CMS_ContentInfo *cms, BIO *chain, int verify)
{
EVP_MD_CTX *mctx = EVP_MD_CTX_new();
unsigned char md[EVP_MAX_MD_SIZE];