From 553e125aff68274e9a5883fd7d51a7c57e60734e Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 4 Apr 2022 09:23:18 +0100 Subject: Remove unused libctx functions (runonce, onfree) Reviewed-by: Matt Caswell Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18031) (cherry picked from commit ed7c64fc540c5808efe4092465af1147c76555a1) --- include/internal/cryptlib.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index ce1a5093ac..223b34cf68 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -179,12 +179,7 @@ void *ossl_lib_ctx_get_data(OSSL_LIB_CTX *, int /* index */); void ossl_lib_ctx_default_deinit(void); OSSL_EX_DATA_GLOBAL *ossl_lib_ctx_get_ex_data_global(OSSL_LIB_CTX *ctx); -typedef int (ossl_lib_ctx_run_once_fn)(OSSL_LIB_CTX *ctx); -typedef void (ossl_lib_ctx_onfree_fn)(OSSL_LIB_CTX *ctx); -int ossl_lib_ctx_run_once(OSSL_LIB_CTX *ctx, unsigned int idx, - ossl_lib_ctx_run_once_fn run_once_fn); -int ossl_lib_ctx_onfree(OSSL_LIB_CTX *ctx, ossl_lib_ctx_onfree_fn onfreefn); const char *ossl_lib_ctx_get_descriptor(OSSL_LIB_CTX *libctx); OSSL_LIB_CTX *ossl_crypto_ex_data_get_ossl_lib_ctx(const CRYPTO_EX_DATA *ad); -- cgit v1.2.3