mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-18 00:00:22 -04:00
proposal: Skip all KE transforms if PROPOSAL_SKIP_KE given
This commit is contained in:
parent
f4df1f8459
commit
4fb449b1a4
@ -407,7 +407,7 @@ static bool select_algos(private_proposal_t *this, proposal_t *other,
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (type == KEY_EXCHANGE_METHOD && (flags & PROPOSAL_SKIP_KE))
|
if (is_ke_transform(type) && (flags & PROPOSAL_SKIP_KE))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -600,7 +600,7 @@ METHOD(proposal_t, clone_, proposal_t*,
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (entry->type == KEY_EXCHANGE_METHOD && (flags & PROPOSAL_SKIP_KE))
|
if (is_ke_transform(entry->type) && (flags & PROPOSAL_SKIP_KE))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user