changeset 8935:1c6361f7111d HEAD

ssl: Don't use mempool_system_clean_*() functions. Just extra work and they've had some problems.
author Timo Sirainen <tss@iki.fi>
date Thu, 09 Apr 2009 14:51:24 -0400
parents 55ad1b77e626
children 153c035cf56b
files src/login-common/ssl-proxy-openssl.c
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/login-common/ssl-proxy-openssl.c	Thu Apr 09 14:51:53 2009 -0400
+++ b/src/login-common/ssl-proxy-openssl.c	Thu Apr 09 14:51:24 2009 -0400
@@ -719,21 +719,6 @@
 	return ssl_proxy_count;
 }
 
-static void *ssl_clean_malloc(size_t size)
-{
-	return p_malloc(system_clean_pool, size);
-}
-
-static void *ssl_clean_realloc(void *ptr, size_t size)
-{
-	return p_realloc(system_clean_pool, ptr, (size_t)-1, size);
-}
-
-static void ssl_clean_free(void *ptr)
-{
-	p_free(system_clean_pool, ptr);
-}
-
 static bool is_pem_key_file(const char *path)
 {
 	char buf[4096];
@@ -773,8 +758,6 @@
 		return;
 	}
 
-	CRYPTO_set_mem_functions(ssl_clean_malloc, ssl_clean_realloc,
-				 ssl_clean_free);
 	SSL_library_init();
 	SSL_load_error_strings();