• Vladislav Vaintroub's avatar
    OpenSSL - set all heap functions in CRYPTO_set_mem_functions. · 62fd7b4c
    Vladislav Vaintroub authored
    The reason is that on Windows, OpenSSL can be built with different C runtime
    than the server (e.g Debug runtime in debug vcpkg build).
    
    Overwriting only malloc(), with CRT that server is using can cause
    mixup of incompatible malloc() and free() inside openssl.
    
    To fix, overwrite all memory functions.
    62fd7b4c
openssl.c 2.27 KB