From 8ff7026b0e96234ea364a51f0174ecf49cf8bed3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 16 Oct 2013 20:37:16 +0200 Subject: 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. --- src/config.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config.c') 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); } -- cgit v1.2.3