]> git.ipfire.org Git - thirdparty/strongswan.git/commit
proposal: Add method to move a given DH group to the front
authorTobias Brunner <tobias@strongswan.org>
Fri, 2 Feb 2018 10:32:39 +0000 (11:32 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 9 Feb 2018 09:20:05 +0000 (10:20 +0100)
commitd9c9b7b832cd5978477de0f6f15e0924e2d0927d
tree4231ee2f4f27b54d5fbbf0fde0f0fa86db3976a2
parent97ad041e6e0c4296f711b14ad53ea12fc2a80039
proposal: Add method to move a given DH group to the front

This way a responder (like strongSwan) selecting a proposal first and
then checking if the KE payload matches sees the peer's preferred group
first.
src/libstrongswan/crypto/proposal/proposal.c
src/libstrongswan/crypto/proposal/proposal.h
src/libstrongswan/tests/suites/test_proposal.c