PROV: Fix EC_KEY exporters to allow domain parameter keys
[openssl.git] / crypto / core_algorithm.c
index f88a0458ec69a880dfbf8a5fc216c3cee643e16a..2973b37604bbe38b4a2787ddcf6a3094d31056aa 100644 (file)
@@ -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);