Call OPENSSL_init after we've checked to see if customisation is permissible.
This commit is contained in:
parent
3517637702
commit
f69e5d6a19
@ -185,9 +185,9 @@ int CRYPTO_set_mem_debug_functions(void (*m)(void *,int,const char *,int,int),
|
||||
void (*so)(long),
|
||||
long (*go)(void))
|
||||
{
|
||||
OPENSSL_init();
|
||||
if (!allow_customize_debug)
|
||||
return 0;
|
||||
OPENSSL_init();
|
||||
malloc_debug_func=m;
|
||||
realloc_debug_func=r;
|
||||
free_debug_func=f;
|
||||
|
Loading…
Reference in New Issue
Block a user