From: Guus Sliepen Date: Fri, 19 Nov 2010 12:26:20 +0000 (+0000) Subject: Do not try to dereference myself->connection->config_tree. X-Git-Tag: release-1.1pre1~66 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=3f59a26d8098b8b0902b8746715508360b347f47;p=tinc Do not try to dereference myself->connection->config_tree. This was a bug introduced due to an incomplete merge (commit ff71f289022ccb91abc2726f16522d55b5ccf0f6). --- diff --git a/src/net_setup.c b/src/net_setup.c index c51c1336..b31bed73 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -415,7 +415,7 @@ bool setup_myself(void) { /* Check if we want to use message authentication codes... */ - if(!get_config_string(lookup_config(myself->connection->config_tree, "Digest"), &digest)) + if(!get_config_string(lookup_config(config_tree, "Digest"), &digest)) digest = xstrdup("sha1"); int maclength = 4;