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/pmeth_gn.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/pmeth_gn.c')
-rw-r--r-- | crypto/evp/pmeth_gn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/evp/pmeth_gn.c b/crypto/evp/pmeth_gn.c index 091d387795..7383fbe072 100644 --- a/crypto/evp/pmeth_gn.c +++ b/crypto/evp/pmeth_gn.c @@ -37,11 +37,12 @@ static int gen_init(EVP_PKEY_CTX *ctx, int operation) case EVP_PKEY_OP_PARAMGEN: ctx->op.keymgmt.genctx = evp_keymgmt_gen_init(ctx->keymgmt, - OSSL_KEYMGMT_SELECT_ALL_PARAMETERS); + OSSL_KEYMGMT_SELECT_ALL_PARAMETERS, NULL); break; case EVP_PKEY_OP_KEYGEN: ctx->op.keymgmt.genctx = - evp_keymgmt_gen_init(ctx->keymgmt, OSSL_KEYMGMT_SELECT_KEYPAIR); + evp_keymgmt_gen_init(ctx->keymgmt, OSSL_KEYMGMT_SELECT_KEYPAIR, + NULL); break; } |