aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest/hooks/custom_proposal.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-06-04 16:26:58 +0200
committerMartin Willi <martin@revosec.ch>2014-06-04 16:26:58 +0200
commit8c55f8ef42816a695895990cf89697a30c235355 (patch)
treec4aa8a3f0f08166b37369bb93132d0ece470af42 /src/conftest/hooks/custom_proposal.c
parentb4c51061c3c649e948324d1f3ad37ef6e48f8b96 (diff)
parentd930d184177ef352c4b5def4e5848463819435ec (diff)
downloadstrongswan-8c55f8ef42816a695895990cf89697a30c235355.tar.bz2
strongswan-8c55f8ef42816a695895990cf89697a30c235355.tar.xz
Merge branch 'win'
Ports the strongSwan core libraries and some plugins to the Windows platform using a MinGW based toolchain. Beside generic platform abstraction and the windows.[ch] compatibility layer, this merge introduces a Windows native threading backend and a charon-svc Windows IKE service. Travis adds a MinGW cross-compile build to Windows, and further enables -Werror to let builds fail for all compiler warnings with gcc and Clang.
Diffstat (limited to 'src/conftest/hooks/custom_proposal.c')
-rw-r--r--src/conftest/hooks/custom_proposal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/custom_proposal.c b/src/conftest/hooks/custom_proposal.c
index 6086d13b5..ee4404575 100644
--- a/src/conftest/hooks/custom_proposal.c
+++ b/src/conftest/hooks/custom_proposal.c
@@ -124,7 +124,7 @@ METHOD(listener_t, message, bool,
enumerator = message->create_payload_enumerator(message);
while (enumerator->enumerate(enumerator, &payload))
{
- if (payload->get_type(payload) == SECURITY_ASSOCIATION)
+ if (payload->get_type(payload) == PLV2_SECURITY_ASSOCIATION)
{
old = (sa_payload_t*)payload;
message->remove_payload_at(message, enumerator);