pluto: Properly initialize ta.encrypter.

This commit is contained in:
Tobias Brunner
2011-04-12 17:22:50 +02:00
parent 7f1fb6b69d
commit 2cec32e8eb
+1 -1
View File
@@ -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 */