aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-08 17:41:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-08 17:41:31 +0100
commit9026da71bb262886a275a3e24b1db51ab3395240 (patch)
tree6050f1a73472b3251b9fd18db7e8c96a7cca276c /src/rspamd.c
parentc271eb36656a4ff88a9c8c1d59934949260275a3 (diff)
downloadrspamd-9026da71bb262886a275a3e24b1db51ab3395240.tar.gz
rspamd-9026da71bb262886a275a3e24b1db51ab3395240.zip
[Rework] Use libsodium instead of hand crafted crypto implementations
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 053b314a9..4d7fbf895 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1215,13 +1215,9 @@ main (gint argc, gchar **argv, gchar **env)
rspamd_main->cfg->cfg_name);
msg_info_main ("cpu features: %s",
rspamd_main->cfg->libs_ctx->crypto_ctx->cpu_extensions);
- msg_info_main ("cryptobox configuration: curve25519(%s), "
- "chacha20(%s), poly1305(%s), siphash(%s), blake2(%s), base64(%s)",
- rspamd_main->cfg->libs_ctx->crypto_ctx->curve25519_impl,
+ msg_info_main ("cryptobox configuration: curve25519(libsodium), "
+ "chacha20(%s), poly1305(libsodium), siphash(libsodium), blake2(libsodium), base64(%s)",
rspamd_main->cfg->libs_ctx->crypto_ctx->chacha20_impl,
- rspamd_main->cfg->libs_ctx->crypto_ctx->poly1305_impl,
- rspamd_main->cfg->libs_ctx->crypto_ctx->siphash_impl,
- rspamd_main->cfg->libs_ctx->crypto_ctx->blake2_impl,
rspamd_main->cfg->libs_ctx->crypto_ctx->base64_impl);
msg_info_main ("libottery prf: %s", ottery_get_impl_name ());