projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EVP: Implement support for key downgrading in backends
[openssl.git]
/
crypto
/
core_fetch.c
diff --git
a/crypto/core_fetch.c
b/crypto/core_fetch.c
index 6e4414d831bb1aeae1df2590b881971c48989e14..7f815a50acb06106dd582b183d3aecb591d08394 100644
(file)
--- a/
crypto/core_fetch.c
+++ b/
crypto/core_fetch.c
@@
-31,9
+31,8
@@
static void ossl_method_construct_this(OSSL_PROVIDER *provider,
struct construct_data_st *data = cbdata;
void *method = NULL;
struct construct_data_st *data = cbdata;
void *method = NULL;
- if ((method = data->mcm->construct(algo->algorithm_name,
- algo->implementation, provider,
- data->mcm_data)) == NULL)
+ if ((method = data->mcm->construct(algo, provider, data->mcm_data))
+ == NULL)
return;
/*
return;
/*
@@
-53,12
+52,12
@@
static void ossl_method_construct_this(OSSL_PROVIDER *provider,
* add to the global store
*/
data->mcm->put(data->libctx, NULL, method, provider,
* add to the global store
*/
data->mcm->put(data->libctx, NULL, method, provider,
- data->operation_id, algo->algorithm_name,
+ data->operation_id, algo->algorithm_name
s
,
algo->property_definition, data->mcm_data);
}
data->mcm->put(data->libctx, data->store, method, provider,
algo->property_definition, data->mcm_data);
}
data->mcm->put(data->libctx, data->store, method, provider,
- data->operation_id, algo->algorithm_name,
+ data->operation_id, algo->algorithm_name
s
,
algo->property_definition, data->mcm_data);
/* refcnt-- because we're dropping the reference */
algo->property_definition, data->mcm_data);
/* refcnt-- because we're dropping the reference */
@@
-66,15
+65,12
@@
static void ossl_method_construct_this(OSSL_PROVIDER *provider,
}
void *ossl_method_construct(OPENSSL_CTX *libctx, int operation_id,
}
void *ossl_method_construct(OPENSSL_CTX *libctx, int operation_id,
- const char *name, const char *propquery,
int force_store,
OSSL_METHOD_CONSTRUCT_METHOD *mcm, void *mcm_data)
{
void *method = NULL;
int force_store,
OSSL_METHOD_CONSTRUCT_METHOD *mcm, void *mcm_data)
{
void *method = NULL;
- if ((method =
- mcm->get(libctx, NULL, operation_id, name, propquery, mcm_data))
- == NULL) {
+ if ((method = mcm->get(libctx, NULL, mcm_data)) == NULL) {
struct construct_data_st cbdata;
/*
struct construct_data_st cbdata;
/*
@@
-92,8
+88,7
@@
void *ossl_method_construct(OPENSSL_CTX *libctx, int operation_id,
ossl_algorithm_do_all(libctx, operation_id, NULL,
ossl_method_construct_this, &cbdata);
ossl_algorithm_do_all(libctx, operation_id, NULL,
ossl_method_construct_this, &cbdata);
- method = mcm->get(libctx, cbdata.store, operation_id, name,
- propquery, mcm_data);
+ method = mcm->get(libctx, cbdata.store, mcm_data);
mcm->dealloc_tmp_store(cbdata.store);
}
mcm->dealloc_tmp_store(cbdata.store);
}