diff options
Diffstat (limited to 'crypto/core_fetch.c')
-rw-r--r-- | crypto/core_fetch.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/crypto/core_fetch.c b/crypto/core_fetch.c index a99f092486..56a3c5cadb 100644 --- a/crypto/core_fetch.c +++ b/crypto/core_fetch.c @@ -59,12 +59,12 @@ static int ossl_method_construct_this(OSSL_PROVIDER *provider, void *cbdata) * If we haven't been told not to store, * add to the global store */ - data->mcm->put(data->libctx, NULL, method, + data->mcm->put(data->libctx, NULL, method, data->operation_id, thismap->algorithm_name, thismap->property_definition, data->mcm_data); } - data->mcm->put(data->libctx, data->store, method, + data->mcm->put(data->libctx, data->store, method, data->operation_id, thismap->algorithm_name, thismap->property_definition, data->mcm_data); @@ -83,7 +83,8 @@ void *ossl_method_construct(OPENSSL_CTX *libctx, int operation_id, void *method = NULL; if ((method = - mcm->get(libctx, NULL, name, propquery, mcm_data)) == NULL) { + mcm->get(libctx, NULL, operation_id, name, propquery, mcm_data)) + == NULL) { struct construct_data_st cbdata; /* @@ -101,7 +102,8 @@ void *ossl_method_construct(OPENSSL_CTX *libctx, int operation_id, ossl_provider_forall_loaded(libctx, ossl_method_construct_this, &cbdata); - method = mcm->get(libctx, cbdata.store, name, propquery, mcm_data); + method = mcm->get(libctx, cbdata.store, operation_id, name, + propquery, mcm_data); mcm->dealloc_tmp_store(cbdata.store); } |