diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-29 10:22:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-29 10:22:12 +0000 |
commit | 5f15819a6da8ae958c8e526f57348d89f0c395da (patch) | |
tree | aa90fa698da35cc9c25a6c1a6f47b6005b8d22e3 | |
parent | b3ba3d42086d67611ba7bf6c78591e41ad0c0b7a (diff) | |
download | rspamd-5f15819a6da8ae958c8e526f57348d89f0c395da.tar.gz rspamd-5f15819a6da8ae958c8e526f57348d89f0c395da.zip |
Print configuration of crypto on start
-rw-r--r-- | src/rspamd.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index c99cfe889..f4bdec1aa 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -1124,6 +1124,15 @@ main (gint argc, gchar **argv, gchar **env) rspamd_main->cfg->cfg_name = rspamd_mempool_strdup ( rspamd_main->cfg->cfg_pool, 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)", + rspamd_main->cfg->libs_ctx->crypto_ctx->curve25519_impl, + 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); /* Daemonize */ if (!no_fork && daemon (0, 0) == -1) { |