dovecot-1.2: ssl: Don't use mempool_system_clean_*() functions. ...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 9 21:52:03 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/1c6361f7111d
changeset: 8935:1c6361f7111d
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 09 14:51:24 2009 -0400
description:
ssl: Don't use mempool_system_clean_*() functions. Just extra work and they've had some problems.
diffstat:
1 file changed, 17 deletions(-)
src/login-common/ssl-proxy-openssl.c | 17 -----------------
diffs (34 lines):
diff -r 55ad1b77e626 -r 1c6361f7111d src/login-common/ssl-proxy-openssl.c
--- 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 @@ unsigned int ssl_proxy_get_count(void)
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 @@ void ssl_proxy_init(void)
return;
}
- CRYPTO_set_mem_functions(ssl_clean_malloc, ssl_clean_realloc,
- ssl_clean_free);
SSL_library_init();
SSL_load_error_strings();
More information about the dovecot-cvs
mailing list