summaryrefslogtreecommitdiffstats
path: root/crypto/core_algorithm.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_algorithm.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_algorithm.c')
-rw-r--r--crypto/core_algorithm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/core_algorithm.c b/crypto/core_algorithm.c
index f88a0458ec..2973b37604 100644
--- a/crypto/core_algorithm.c
+++ b/crypto/core_algorithm.c
@@ -44,7 +44,7 @@ static int algorithm_do_this(OSSL_PROVIDER *provider, void *cbdata)
break;
ok = 1; /* As long as we've found *something* */
- while (map->algorithm_name != NULL) {
+ while (map->algorithm_names != NULL) {
const OSSL_ALGORITHM *thismap = map++;
data->fn(provider, thismap, no_store, data->data);