mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
quick-mode: Promote selected DH group instead of stripping all others
Since only the first DH group is encoded for IKEv1 this should have the same effect as removing all other groups.
This commit is contained in:
parent
c9599d4101
commit
3187293e3d
@ -802,7 +802,7 @@ static linked_list_t *get_proposals(private_quick_mode_t *this,
|
||||
proposal->destroy(proposal);
|
||||
continue;
|
||||
}
|
||||
proposal->strip_dh(proposal, group);
|
||||
proposal->promote_dh_group(proposal, group);
|
||||
}
|
||||
proposal->set_spi(proposal, this->spi_i);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user