From: Dr. Stephen Henson Date: Mon, 14 Nov 2011 14:15:29 +0000 (+0000) Subject: Call OPENSSL_init after we've checked to see if customisation is permissible. X-Git-Tag: OpenSSL_1_0_1-beta1~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f69e5d6a1950b69fcae6ba1cc2b1c3a3b0171989;p=oweals%2Fopenssl.git Call OPENSSL_init after we've checked to see if customisation is permissible. --- diff --git a/crypto/mem.c b/crypto/mem.c index 46a4e6c6dd..8f736c3b1f 100644 --- a/crypto/mem.c +++ b/crypto/mem.c @@ -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;