mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
proposal: Accept NONE for additional key exchanges also for IKE proposals
This commit is contained in:
parent
0c79db4013
commit
4c3914b6f9
@ -323,7 +323,8 @@ static bool select_algo(private_proposal_t *this, proposal_t *other,
|
||||
|
||||
if (is_ke_transform(type))
|
||||
{
|
||||
optional = this->protocol == PROTO_ESP || this->protocol == PROTO_AH;
|
||||
optional = this->protocol == PROTO_ESP || this->protocol == PROTO_AH ||
|
||||
type != KEY_EXCHANGE_METHOD;
|
||||
}
|
||||
|
||||
e1 = create_enumerator(this, type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user