ts-payload: Add support for TS of type TS_SECLABEL
The security labels can be retrieved in a separate list from the regular traffic selectors. We currently only plan to support a single security label ourselves, so when generating we don't expect a list.
This commit is contained in:
1 parent
a44de0b957
commit
f4c0ec0b71
4 files changed
+63
-14
No files matched your search
@@ -305,12 +305,12 @@ static void process_auth_response(private_pretend_auth_t *this,
|
||||
if (this->tsi)
|
||||
{
|
||||
message->add_payload(message, (payload_t*)
|
||||
ts_payload_create_from_traffic_selectors(TRUE, this->tsi));
|
||||
ts_payload_create_from_traffic_selectors(TRUE, this->tsi, NULL));
|
||||
}
|
||||
if (this->tsr)
|
||||
{
|
||||
message->add_payload(message, (payload_t*)
|
||||
ts_payload_create_from_traffic_selectors(FALSE, this->tsr));
|
||||
ts_payload_create_from_traffic_selectors(FALSE, this->tsr, NULL));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user