diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-28 00:16:15 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-28 00:16:15 +0100 |
commit | c385e1f39502ade5c42edb5e15ec7799573fb99c (patch) | |
tree | bce0cdff34570a90960b130654ac62ab05bc7f84 /src/controller.c | |
parent | 1bb534f67d6e15e4cce60d9da838bc604e8eb408 (diff) | |
download | rspamd-c385e1f39502ade5c42edb5e15ec7799573fb99c.tar.gz rspamd-c385e1f39502ade5c42edb5e15ec7799573fb99c.zip |
Add password encryption mode.
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/controller.c b/src/controller.c index bce75c568..522605165 100644 --- a/src/controller.c +++ b/src/controller.c @@ -133,14 +133,8 @@ struct rspamd_controller_session { gboolean is_spam; }; -struct rspamd_controller_pbkdf { - gint id; - guint rounds; - gsize salt_len; - gsize key_len; -}; -static const struct rspamd_controller_pbkdf pbkdf_list[] = { +const struct rspamd_controller_pbkdf pbkdf_list[] = { { .id = RSPAMD_PBKDF_ID_V1, .rounds = 16000, |