summaryrefslogtreecommitdiffstats
path: root/crypto/cms
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-03-02 20:21:00 +1000
committerPauli <ppzgs1@gmail.com>2021-03-12 08:27:11 +1000
commit1666eec83722ff9e2c80ec8fe86c71b317959591 (patch)
treeab7a56f52d190c8460a75ee11c0c533387b48ca8 /crypto/cms
parentee22fca5cec53c9775cbdf1c44677ba5ee9b5049 (diff)
misc: other init function param additions
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14383)
Diffstat (limited to 'crypto/cms')
-rw-r--r--crypto/cms/cms_sd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/cms/cms_sd.c b/crypto/cms/cms_sd.c
index cc980d4e58..0c3f04388b 100644
--- a/crypto/cms/cms_sd.c
+++ b/crypto/cms/cms_sd.c
@@ -419,7 +419,7 @@ CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms,
} else if (EVP_DigestSignInit_ex(si->mctx, &si->pctx, EVP_MD_name(md),
ossl_cms_ctx_get0_libctx(ctx),
ossl_cms_ctx_get0_propq(ctx),
- pk) <= 0) {
+ pk, NULL) <= 0) {
goto err;
}
}
@@ -743,7 +743,8 @@ int CMS_SignerInfo_sign(CMS_SignerInfo *si)
EVP_MD_CTX_reset(mctx);
if (EVP_DigestSignInit_ex(mctx, &pctx, md_name,
ossl_cms_ctx_get0_libctx(ctx),
- ossl_cms_ctx_get0_propq(ctx), si->pkey) <= 0)
+ ossl_cms_ctx_get0_propq(ctx), si->pkey,
+ NULL) <= 0)
goto err;
si->pctx = pctx;
}
@@ -853,7 +854,7 @@ int CMS_SignerInfo_verify(CMS_SignerInfo *si)
}
mctx = si->mctx;
if (EVP_DigestVerifyInit_ex(mctx, &si->pctx, EVP_MD_name(md), libctx,
- propq, si->pkey) <= 0)
+ propq, si->pkey, NULL) <= 0)
goto err;
if (!cms_sd_asn1_ctrl(si, 1))