diff options
author | Richard Levitte <levitte@openssl.org> | 2019-10-14 08:41:17 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-10-17 13:01:14 +0200 |
commit | 02f060d17e667a2805eb0c71266c35de9e7e3864 (patch) | |
tree | baa05788336ac5001d1d8b0f7a2ff5b9ee0f6e45 /crypto/evp/m_sigver.c | |
parent | c00d9311c1a8fc7f25a65dcfbdfc90d4e7709e23 (diff) |
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.c | 3 |
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; |