From 9fd69a7893040cee7339246d5b17ab92b4d58a43 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 26 Mar 2012 23:51:41 +0200 Subject: Allow initating and accepting handshake instances to coexist; fix some memory corruption etc. found by Valgrind --- src/config.y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.y') diff --git a/src/config.y b/src/config.y index dc0f1be..210a33d 100644 --- a/src/config.y +++ b/src/config.y @@ -127,6 +127,8 @@ peer: maybe_string { current_peer->enabled = true; current_peer->address.sa.sa_family = AF_UNSPEC; + current_peer->key = NULL; + current_peer->protocol_config = NULL; } ; -- cgit v1.2.3