diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-07 16:53:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-07 16:53:45 +0000 |
commit | e97b0030beff8ab1eb995f5638b689e5c468bb55 (patch) | |
tree | 6acf7380b725b129f1cc3abcccec3b780dffcfb0 /test/rspamd_http_test.c | |
parent | e4a1bd5b031e418a3c593c25cda5dc7996564ee7 (diff) | |
download | rspamd-e97b0030beff8ab1eb995f5638b689e5c468bb55.tar.gz rspamd-e97b0030beff8ab1eb995f5638b689e5c468bb55.zip |
Init cryptobox library properly.
Diffstat (limited to 'test/rspamd_http_test.c')
-rw-r--r-- | test/rspamd_http_test.c | 2 |
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)); |