diff options
author | Richard Levitte <levitte@openssl.org> | 2021-09-30 09:32:57 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-10-27 12:41:10 +0200 |
commit | cfce50f791511c8fee7dec90c57f02d9410d039f (patch) | |
tree | d257942e05382ba861d046068ebf70bb268a3bbd /include | |
parent | 8c590a219fe30b97cfde2efdd8ea94c03a90a8c6 (diff) | |
download | openssl-cfce50f791511c8fee7dec90c57f02d9410d039f.tar.gz |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/core.h b/include/internal/core.h index 035b726894..277f2bdac5 100644 --- a/include/internal/core.h +++ b/include/internal/core.h @@ -43,7 +43,7 @@ typedef struct ossl_method_construct_method_st { } OSSL_METHOD_CONSTRUCT_METHOD; void *ossl_method_construct(OSSL_LIB_CTX *ctx, int operation_id, - int force_cache, + OSSL_PROVIDER *prov, int force_cache, OSSL_METHOD_CONSTRUCT_METHOD *mcm, void *mcm_data); void ossl_algorithm_do_all(OSSL_LIB_CTX *libctx, int operation_id, |