From e97b0030beff8ab1eb995f5638b689e5c468bb55 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 7 Feb 2015 16:53:45 +0000 Subject: Init cryptobox library properly. --- test/rspamd_http_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/rspamd_http_test.c b/test/rspamd_http_test.c index 0a22a518c..94a12ee81 100644 --- a/test/rspamd_http_test.c +++ b/test/rspamd_http_test.c @@ -167,10 +167,10 @@ rspamd_http_test_func (void) GString *b32_key; double diff, total_diff = 0.0; + rspamd_cryptobox_init (); rspamd_snprintf (filepath, sizeof (filepath), "/tmp/http-test-XXXXXX"); g_assert ((fd = mkstemp (filepath)) != -1); - for (i = 0; i < file_blocks; i ++) { memset (buf, 0, sizeof (buf)); g_assert (write (fd, buf, sizeof (buf)) == sizeof (buf)); -- cgit v1.2.3