summaryrefslogtreecommitdiffstats
path: root/include/internal
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-06-15 10:18:19 +0200
committerMatt Caswell <matt@openssl.org>2021-06-16 12:32:53 +0100
commit6882652e65d39310c98ba506ceb55a87c702d419 (patch)
tree018c57753bb219a0d59e40f28076952b9cdc4977 /include/internal
parent99325852207e3f8ae970799235de169b40eded75 (diff)
CORE: Do a bit of cleanup of core fetching
Some data, like the library context, were passed both through higher level callback structures and through arguments to those same higher level callbacks. This is a bit unnecessary, so we rearrange the callback arguments to simply pass that callback structure and rely on the higher level fetching functionality to pick out what data they need from that structure. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15750)
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/core.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/internal/core.h b/include/internal/core.h
index d8395a2c92..035b726894 100644
--- a/include/internal/core.h
+++ b/include/internal/core.h
@@ -31,11 +31,10 @@ typedef struct ossl_method_construct_method_st {
/* Get a temporary store */
void *(*get_tmp_store)(void *data);
/* Get an already existing method from a store */
- void *(*get)(OSSL_LIB_CTX *libctx, void *store, void *data);
+ void *(*get)(void *store, void *data);
/* Store a method in a store */
- int (*put)(OSSL_LIB_CTX *libctx, void *store, void *method,
- const OSSL_PROVIDER *prov, int operation_id, const char *name,
- const char *propdef, void *data);
+ int (*put)(void *store, void *method, const OSSL_PROVIDER *prov,
+ const char *name, const char *propdef, void *data);
/* Construct a new method */
void *(*construct)(const OSSL_ALGORITHM *algodef, OSSL_PROVIDER *prov,
void *data);