summaryrefslogtreecommitdiffstats
path: root/crypto/core_fetch.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-05-23 03:36:21 +0200
committerRichard Levitte <levitte@openssl.org>2019-10-03 15:47:25 +0200
commit695d195bbb81f8ed4027468fe1c480f958e846c8 (patch)
tree97adf9d6199573bed701910b41cfe56bb4e56dd7 /crypto/core_fetch.c
parente7c27a6c3716843f8412fd96311b70ac84b785f9 (diff)
Replumbing: make it possible for providers to specify multiple names
This modifies the treatment of algorithm name strings to allow multiple names separated with colons. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/8985)
Diffstat (limited to 'crypto/core_fetch.c')
-rw-r--r--crypto/core_fetch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/core_fetch.c b/crypto/core_fetch.c
index 1e0d82fb61..ed50bb87d5 100644
--- a/crypto/core_fetch.c
+++ b/crypto/core_fetch.c
@@ -31,7 +31,7 @@ static void ossl_method_construct_this(OSSL_PROVIDER *provider,
struct construct_data_st *data = cbdata;
void *method = NULL;
- if ((method = data->mcm->construct(algo->algorithm_name,
+ if ((method = data->mcm->construct(algo->algorithm_names,
algo->implementation, provider,
data->mcm_data)) == NULL)
return;
@@ -53,12 +53,12 @@ static void ossl_method_construct_this(OSSL_PROVIDER *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_names,
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_names,
algo->property_definition, data->mcm_data);
/* refcnt-- because we're dropping the reference */