From 72592b866492b84ba5ca1251d1a45875764c7b27 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 24 May 2019 17:52:17 +0100 Subject: Split thread intialisation and handling out of init.c We're going to need some of these functions in the FIPS module, but most of the rest of the code in init.c is not needed. Therefore we split it out. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9040) --- crypto/include/internal/cryptlib_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/include') diff --git a/crypto/include/internal/cryptlib_int.h b/crypto/include/internal/cryptlib_int.h index b3529dcaf9..e810ef02eb 100644 --- a/crypto/include/internal/cryptlib_int.h +++ b/crypto/include/internal/cryptlib_int.h @@ -14,6 +14,8 @@ typedef void (*ossl_thread_stop_handler_fn)(OPENSSL_CTX *ctx); int ossl_init_thread_start(OPENSSL_CTX *ctx, ossl_thread_stop_handler_fn handfn); +int init_thread(void); +void cleanup_thread(void); /* * OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below -- cgit v1.2.3