OSSL_ALGORITHM alg[MAX_ALG_FILTERS + 1];
} dispatch[MAX_FILTERS];
int num_dispatch;
+ int no_cache;
};
static struct filter_prov_globals_st ourglobals;
for (i = 0; i < globs->num_dispatch; i++) {
if (globs->dispatch[i].operation == operation_id) {
- *no_cache = 0;
+ *no_cache = globs->no_cache;
return globs->dispatch[i].alg;
}
}
if (filterstrtmp == NULL)
goto err;
- /* We don't support no_cache */
- if (no_cache)
- goto err;
-
/* Nothing to filter */
if (provalgs == NULL)
goto err;
}
globs->dispatch[globs->num_dispatch].operation = operation;
+ globs->no_cache = no_cache;
globs->num_dispatch++;
ret = 1;