summaryrefslogtreecommitdiffstats
path: root/test/rspamd_dkim_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rspamd_dkim_test.c')
-rw-r--r--test/rspamd_dkim_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rspamd_dkim_test.c b/test/rspamd_dkim_test.c
index b6a613e48..a0c6332e4 100644
--- a/test/rspamd_dkim_test.c
+++ b/test/rspamd_dkim_test.c
@@ -63,7 +63,7 @@ rspamd_dkim_test_func ()
{
rspamd_dkim_context_t *ctx;
rspamd_dkim_key_t *key;
- memory_pool_t *pool;
+ rspamd_mempool_t *pool;
struct rspamd_dns_resolver *resolver;
struct config_file *cfg;
GError *err = NULL;
@@ -71,11 +71,11 @@ rspamd_dkim_test_func ()
cfg = (struct config_file *)g_malloc (sizeof (struct config_file));
bzero (cfg, sizeof (struct config_file));
- cfg->cfg_pool = memory_pool_new (memory_pool_get_size ());
+ cfg->cfg_pool = rspamd_mempool_new (rspamd_mempool_suggest_size ());
cfg->dns_retransmits = 10;
cfg->dns_timeout = 1000;
- pool = memory_pool_new (memory_pool_get_size ());
+ pool = rspamd_mempool_new (rspamd_mempool_suggest_size ());
resolver = dns_resolver_init (base, cfg);