From 3743f515cfc5ed1b6c7bb301ceca5bafdbcc1360 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 Aug 2008 19:29:00 +0000 Subject: - Phil Pellouchoud pointed out that the windows version of libcurl had a memory leak because it never called the OpenSSL function CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a missing define in config-win32.h! --- lib/config-win32.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/config-win32.h') diff --git a/lib/config-win32.h b/lib/config-win32.h index 25484eb7a..7169bf2ec 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -172,6 +172,10 @@ /* Define if you have the `RAND_status' function when using SSL. */ #define HAVE_RAND_STATUS 1 +/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. + This is present in OpenSSL versions after 0.9.6b */ +#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 + /* Define if you have the select function. */ #define HAVE_SELECT 1 @@ -351,7 +355,7 @@ #define HAVE_VARIADIC_MACROS_C99 1 #endif -/* Define if the compiler supports LONGLONG. */ +/* Define if the compiler supports the 'long long' data type. */ #if defined(__MINGW32__) || defined(__WATCOMC__) #define HAVE_LONGLONG 1 #endif -- cgit v1.2.3