diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-28 16:39:28 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-28 16:39:28 +0000 |
commit | 1a90ff5e2731f4b10edc4b1725bd9aa7d1be5508 (patch) | |
tree | 916274559485ab6e155bccd081423cde7f9a6684 /src/libserver/cfg_rcl.c | |
parent | 4fe834a29f6592cfd3a11a4c231b5c9ca13cb49d (diff) | |
download | rspamd-1a90ff5e2731f4b10edc4b1725bd9aa7d1be5508.tar.gz rspamd-1a90ff5e2731f4b10edc4b1725bd9aa7d1be5508.zip |
[Minor] Support explicit enabling of the FIPS mode in OpenSSL
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index ebca34563..9a88bd39c 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -1952,6 +1952,12 @@ rspamd_rcl_config_init (struct rspamd_config *cfg, GHashTable *skip_sections) 0, "Disable monitoring completely"); rspamd_rcl_add_default_handler (sub, + "fips_mode", + rspamd_rcl_parse_struct_boolean, + G_STRUCT_OFFSET (struct rspamd_config, fips_mode), + 0, + "Enable FIPS 140-2 mode in OpenSSL"); + rspamd_rcl_add_default_handler (sub, "dynamic_conf", rspamd_rcl_parse_struct_string, G_STRUCT_OFFSET (struct rspamd_config, dynamic_conf), |