diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-11-14 14:15:29 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-11-14 14:15:29 +0000 |
commit | f69e5d6a1950b69fcae6ba1cc2b1c3a3b0171989 (patch) | |
tree | a2fb0e731fb1898852ddcee42c91ada5e7529d06 /crypto/mem.c | |
parent | 3517637702a14e53b539dc7a7b456decf0a24c45 (diff) |
Call OPENSSL_init after we've checked to see if customisation is permissible.
Diffstat (limited to 'crypto/mem.c')
-rw-r--r-- | crypto/mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |