summaryrefslogtreecommitdiffstats
path: root/test/rspamd_http_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rspamd_http_test.c')
-rw-r--r--test/rspamd_http_test.c2
1 files changed, 1 insertions, 1 deletions
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));