From 2cec32e8eb09cb4bf0122180c83f2fe3666de807 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 12 Apr 2011 17:22:50 +0200 Subject: [PATCH] pluto: Properly initialize ta.encrypter. --- src/pluto/spdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluto/spdb.c b/src/pluto/spdb.c index 2ed07bdfc..2fd6ecd4f 100644 --- a/src/pluto/spdb.c +++ b/src/pluto/spdb.c @@ -881,7 +881,7 @@ notification_t parse_isakmp_sa_body(u_int32_t ipsecdoisit, lset_t seen_attrs = 0; lset_t seen_durations = 0; u_int16_t life_type = 0; - struct oakley_trans_attrs ta; + struct oakley_trans_attrs ta = { .encrypter = NULL }; err_t ugh = NULL; /* set to diagnostic when problem detected */ /* initialize only optional field in ta */