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/fastd.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/fastd.c') diff --git a/src/fastd.c b/src/fastd.c index 149a380..d2e0881 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -244,7 +244,6 @@ static void handle_tun(fastd_context *ctx) { static void handle_socket(fastd_context *ctx, int sockfd) { size_t max_len = ctx->conf->protocol->max_packet_size(ctx); fastd_buffer buffer = fastd_buffer_alloc(max_len, ctx->conf->protocol->min_decrypt_head_space(ctx), 0); - uint8_t packet_type; struct iovec iov[2] = { -- cgit v1.2.3