diff options
-rw-r--r-- | crypto/cms/cms_sd.c | 7 | ||||
-rw-r--r-- | crypto/ct/ct_vfy.c | 2 | ||||
-rw-r--r-- | crypto/pkcs7/pk7_doit.c | 3 |
3 files changed, 7 insertions, 5 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)) diff --git a/crypto/ct/ct_vfy.c b/crypto/ct/ct_vfy.c index 2ffca19400..0226dbf0c5 100644 --- a/crypto/ct/ct_vfy.c +++ b/crypto/ct/ct_vfy.c @@ -123,7 +123,7 @@ int SCT_CTX_verify(const SCT_CTX *sctx, const SCT *sct) goto end; if (!EVP_DigestVerifyInit_ex(ctx, NULL, "SHA2-256", sctx->libctx, - sctx->propq, sctx->pkey)) + sctx->propq, sctx->pkey, NULL)) goto end; if (!sct_ctx_update(ctx, sctx, sct)) diff --git a/crypto/pkcs7/pk7_doit.c b/crypto/pkcs7/pk7_doit.c index ab23100f49..c9e4d719aa 100644 --- a/crypto/pkcs7/pk7_doit.c +++ b/crypto/pkcs7/pk7_doit.c @@ -928,7 +928,8 @@ int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si) if (EVP_DigestSignInit_ex(mctx, &pctx, EVP_MD_name(md), ossl_pkcs7_ctx_get0_libctx(ctx), - ossl_pkcs7_ctx_get0_propq(ctx), si->pkey) <= 0) + ossl_pkcs7_ctx_get0_propq(ctx), si->pkey, + NULL) <= 0) goto err; /* |