diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-04-12 17:22:50 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-04-12 17:22:50 +0200 |
commit | 2cec32e8eb09cb4bf0122180c83f2fe3666de807 (patch) | |
tree | 0cf39842294bafa9112c2f1614488cb756da9312 /src/pluto/spdb.c | |
parent | 7f1fb6b69dc21df511401b82ec266fe689ff48a2 (diff) | |
download | strongswan-2cec32e8eb09cb4bf0122180c83f2fe3666de807.tar.bz2 strongswan-2cec32e8eb09cb4bf0122180c83f2fe3666de807.tar.xz |
pluto: Properly initialize ta.encrypter.
Diffstat (limited to 'src/pluto/spdb.c')
-rw-r--r-- | src/pluto/spdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |