CORE: add a provider argument to ossl_method_construct()
This makes it possible to limit the search of methods to that particular provider. This uses already available possibilities in ossl_algorithm_do_all(). Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16725)
This commit is contained in:
parent
8c590a219f
commit
cfce50f791
8 changed files with 33 additions and 16 deletions
|
@ -390,7 +390,7 @@ inner_ossl_encoder_fetch(struct encoder_data_st *methdata, int id,
|
|||
methdata->propquery = properties;
|
||||
methdata->flag_construct_error_occurred = 0;
|
||||
if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_ENCODER,
|
||||
0 /* !force_cache */,
|
||||
NULL, 0 /* !force_cache */,
|
||||
&mcm, methdata)) != NULL) {
|
||||
/*
|
||||
* If construction did create a method for us, we know that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue