From 4d77b7247f80a031b22d3259c470a489604df422 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 20 Mar 2014 18:31:30 +0100 Subject: Enable secure handshakes by default --- src/config.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index 0031113..7876f75 100644 --- a/src/config.c +++ b/src/config.c @@ -64,6 +64,7 @@ static void default_config(fastd_config_t *conf) { conf->mtu = 1500; conf->mode = MODE_TAP; + conf->secure_handshakes = true; conf->drop_caps = DROP_CAPS_ON; conf->protocol = &fastd_protocol_ec25519_fhmqvc; @@ -573,9 +574,6 @@ void fastd_config_check(fastd_context_t *ctx, fastd_config_t *conf) { fastd_config_method(ctx, conf, "null"); } - 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_methods(ctx, conf); } -- cgit v1.2.3