diff options
author | Pauli <ppzgs1@gmail.com> | 2021-03-02 09:01:33 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-03-12 08:27:11 +1000 |
commit | 1be63b3e962097f20db2172e2c468a2a51d01da0 (patch) | |
tree | b02395be12ed0ae0de70e81cd73ea51042b03042 /crypto/evp/keymgmt_meth.c | |
parent | 10ffdda4209371dcd839d78081e1a65d2a8b67b0 (diff) |
evp: add params argument to key manager's gen_init call
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14383)
Diffstat (limited to 'crypto/evp/keymgmt_meth.c')
-rw-r--r-- | crypto/evp/keymgmt_meth.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/evp/keymgmt_meth.c b/crypto/evp/keymgmt_meth.c index 3142996cab..b42e2b77c9 100644 --- a/crypto/evp/keymgmt_meth.c +++ b/crypto/evp/keymgmt_meth.c @@ -302,13 +302,14 @@ void evp_keymgmt_freedata(const EVP_KEYMGMT *keymgmt, void *keydata) keymgmt->free(keydata); } -void *evp_keymgmt_gen_init(const EVP_KEYMGMT *keymgmt, int selection) +void *evp_keymgmt_gen_init(const EVP_KEYMGMT *keymgmt, int selection, + const OSSL_PARAM params[]) { void *provctx = ossl_provider_ctx(EVP_KEYMGMT_provider(keymgmt)); if (keymgmt->gen_init == NULL) return NULL; - return keymgmt->gen_init(provctx, selection); + return keymgmt->gen_init(provctx, selection, params); } int evp_keymgmt_gen_set_template(const EVP_KEYMGMT *keymgmt, void *genctx, |