Move locking and thread ID functions into new files lock.c and thr_id.c,
redirect locking to minimal FIPS_lock() function where required.
This commit is contained in:
@@ -101,7 +101,7 @@ static void (*free_locked_func)(void *) = free;
|
||||
|
||||
/* may be changed as long as 'allow_customize_debug' is set */
|
||||
/* XXX use correct function pointer types */
|
||||
#ifdef CRYPTO_MDEBUG
|
||||
#if defined(CRYPTO_MDEBUG) && !defined(OPENSSL_FIPSCANISTER)
|
||||
/* use default functions from mem_dbg.c */
|
||||
static void (*malloc_debug_func)(void *,int,const char *,int,int)
|
||||
= CRYPTO_dbg_malloc;
|
||||
|
||||
Reference in New Issue
Block a user