Commit 203e2176 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-13698 stack overflow (OpenSSL on Windows)

avoid CRYPTO_free recursively calling itself on Windows
parent 50a8beed
......@@ -50,7 +50,7 @@ int check_openssl_compatibility()
EVP_CIPHER_CTX *evp_ctx;
EVP_MD_CTX *md5_ctx;
if (!CRYPTO_set_mem_functions(coc_malloc, CRYPTO_realloc, CRYPTO_free))
if (!CRYPTO_set_mem_functions(coc_malloc, NULL, NULL))
return 1;
testing= 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment