Mercurial > dovecot > core-2.2
changeset 9049:e812e3ed2d6f 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 | 25cf5d5b3d9c |
children | 85a587bcc16f |
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:44:02 2009 -0400 +++ b/src/login-common/ssl-proxy-openssl.c Thu Apr 09 14:51:24 2009 -0400 @@ -720,21 +720,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]; @@ -764,8 +749,6 @@ if (strcmp(set->ssl, "no") == 0) return; - CRYPTO_set_mem_functions(ssl_clean_malloc, ssl_clean_realloc, - ssl_clean_free); SSL_library_init(); SSL_load_error_strings();