preparations to include certreqs in policy decisions
[strongswan.git] / src / charon / sa / transactions / create_child_sa.c
index c04fd11..60d316f 100644 (file)
@@ -261,7 +261,8 @@ static status_t get_request(private_create_child_sa_t *this, message_t **result)
                        this->policy = charon->policies->get_policy(charon->policies,
                                                                                                                my_id, other_id,
                                                                                                                my_ts, other_ts,
-                                                                                                           me, other);
+                                                                                                           me, other,
+                                                                                                               NULL);
                        
                        this->reqid = this->rekeyed_sa->get_reqid(this->rekeyed_sa);
                        
@@ -635,7 +636,8 @@ static status_t get_response(private_create_child_sa_t *this, message_t *request
                this->policy = charon->policies->get_policy(charon->policies,
                                                                                                        my_id, other_id,
                                                                                                        my_ts, other_ts,
-                                                                                                   me, other);
+                                                                                                   me, other,
+                                                                                                       NULL);
                if (this->policy)
                {
                        this->tsr = this->policy->select_my_traffic_selectors(this->policy, my_ts, me);