diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-16 20:37:16 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-16 20:37:16 +0200 |
commit | 8ff7026b0e96234ea364a51f0174ecf49cf8bed3 (patch) | |
tree | a95f7ffe52ff1fc339f04121a2cf817338b4dd78 /src/config.c | |
parent | 118ebb9d65b44fb734aee3ebd31ecdaffd38c615 (diff) | |
download | fastd-8ff7026b0e96234ea364a51f0174ecf49cf8bed3.tar fastd-8ff7026b0e96234ea364a51f0174ecf49cf8bed3.zip |
Add `secure handshakes' option (without effect for now)
Not setting the option produces a warning (so not having it set is deprecated
now), so we can change the default from no to yes in a few release cycles.
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 1be93b0..62cfaef 100644 --- a/src/config.c +++ b/src/config.c @@ -645,6 +645,9 @@ void fastd_configure(fastd_context_t *ctx, fastd_config_t *conf, int argc, char exit_error(ctx, "config error: setting pmtu is not supported on this system"); #endif + if (!conf->secure_handshakes_set) + pr_warn(ctx, "`secure handshakes' not set, please read the documentation about this option; defaulting to no"); + configure_user(ctx, conf); configure_method_parameters(ctx, conf); } |