preparations to include certreqs in policy decisions

This commit is contained in:
Andreas Steffen
2006-10-31 07:04:15 +00:00
parent d2bb572f79
commit 29137c0cef
5 changed files with 47 additions and 25 deletions
+4 -2
View File
@@ -450,7 +450,8 @@ static void dpd_detected(private_ike_sa_t *this)
policy = charon->policies->get_policy(charon->policies,
this->my_id, this->other_id,
my_ts, other_ts,
this->my_host, this->other_host);
this->my_host, this->other_host,
NULL);
if (policy == NULL)
{
DBG1(DBG_IKE, "no policy for CHILD to handle DPD");
@@ -993,7 +994,8 @@ static status_t acquire(private_ike_sa_t *this, u_int32_t reqid)
policy = charon->policies->get_policy(charon->policies,
this->my_id, this->other_id,
my_ts, other_ts,
this->my_host, this->other_host);
this->my_host, this->other_host,
NULL);
if (policy == NULL)
{
SIG(CHILD_UP_START, "acquiring CHILD_SA with reqid %d", reqid);