Core/SSL: flagSSL_USEMALLOC

This commit is contained in:
Mirek Fidler 2025-11-07 11:39:13 +01:00
parent d938ee2d9a
commit fdc5585546

View file

@ -89,9 +89,11 @@ INITIALIZER(SSL)
LLOG("SslInit");
TcpSocketInit();
#ifdef UPP_HEAP
#ifndef flagSSL_USEMALLOC // do not change OpenSSL memory functions to U++ heap
#ifndef _DEBUG // temporary solution unless we find the source of all those harmless leaks
CRYPTO_set_mem_functions(SslAlloc, SslRealloc, SslFree);
#endif
#endif
#endif
SSL_library_init();
SSL_load_error_strings();