added CHILD_SA compare check for rekeying collisions

This commit is contained in:
Martin Willi
2007-03-22 07:34:42 +00:00
parent 1eb6a5f4a2
commit 92275b0981
6 changed files with 47 additions and 9 deletions
+1 -5
View File
@@ -680,11 +680,7 @@ static void use_reqid(private_child_create_t *this, u_int32_t reqid)
*/
static child_sa_t* get_child(private_child_create_t *this)
{
if (this->established)
{
return this->child_sa;
}
return NULL;
return this->child_sa;
}
/**