]> git.ipfire.org Git - thirdparty/strongswan.git/commit
proposal: Add constructor that does no checks or fixups
authorTobias Brunner <tobias@strongswan.org>
Tue, 10 May 2022 12:37:40 +0000 (14:37 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 19 Sep 2024 13:21:47 +0000 (15:21 +0200)
commitba332a51d221dd15b3672fa7ee743b1c89abf349
treef5b449a176c3f6e1930491467b501e102310a854
parent1ca3f21d008f85c4c546d78f9e687dc6b2c0006f
proposal: Add constructor that does no checks or fixups

This allows an easier construction of invalid proposals (e.g. IKE
proposals without DH groups) than parsing tokens and using
add_algorithm() manually.
src/libstrongswan/crypto/proposal/proposal.c
src/libstrongswan/crypto/proposal/proposal.h
src/libstrongswan/tests/suites/test_proposal.c