summaryrefslogtreecommitdiffstats
path: root/crypto/evp/m_sigver.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-10-14 08:41:17 +0200
committerRichard Levitte <levitte@openssl.org>2019-10-17 13:01:14 +0200
commit02f060d17e667a2805eb0c71266c35de9e7e3864 (patch)
treebaa05788336ac5001d1d8b0f7a2ff5b9ee0f6e45 /crypto/evp/m_sigver.c
parentConfigure: break long lines in build files (diff)
downloadopenssl-02f060d17e667a2805eb0c71266c35de9e7e3864.tar.xz
openssl-02f060d17e667a2805eb0c71266c35de9e7e3864.zip
PKEY: adapt the export_to_provider funtions to handle domain params too
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10169)
Diffstat (limited to 'crypto/evp/m_sigver.c')
-rw-r--r--crypto/evp/m_sigver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c
index 7912c8dd59..c02325cf6b 100644
--- a/crypto/evp/m_sigver.c
+++ b/crypto/evp/m_sigver.c
@@ -94,7 +94,8 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
ERR_raise(ERR_LIB_EVP, EVP_R_INITIALIZATION_ERROR);
goto err;
}
- provkey = evp_keymgmt_export_to_provider(locpctx->pkey, signature->keymgmt);
+ provkey =
+ evp_keymgmt_export_to_provider(locpctx->pkey, signature->keymgmt, 0);
if (provkey == NULL) {
ERR_raise(ERR_LIB_EVP, EVP_R_INITIALIZATION_ERROR);
goto err;