Fixed missing shared_key initialization in main_mode task.

This commit is contained in:
Tobias Brunner
2012-03-20 17:31:19 +01:00
parent c9fc577a8a
commit 5383b50d88
+1 -1
View File
@@ -666,7 +666,7 @@ static shared_key_t *lookup_shared_key(private_main_mode_t *this)
{
host_t *me, *other;
identification_t *my_id, *other_id;
shared_key_t *shared_key;
shared_key_t *shared_key = NULL;
/* try to get a PSK for IP addresses */
me = this->ike_sa->get_my_host(this->ike_sa);