Use real ID payload to build HASH_I|R for Main Mode authentication.
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 Dec 2011 17:56:06 +0000 (18:56 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Mar 2012 16:31:21 +0000 (17:31 +0100)
commita6c328a6e9b865f51fb6a7129646552142157317
tree9c33d7ecf1950b1d07493a40a31bac1f6d5ebc68
parent19965ffe560d6f6393e58baa77b58de7270a64ce
Use real ID payload to build HASH_I|R for Main Mode authentication.

This is required for clients like the iPhone which set the protocol
and/or port fields of the ID payload.
src/libcharon/sa/authenticators/authenticator.c
src/libcharon/sa/authenticators/authenticator.h
src/libcharon/sa/authenticators/psk_v1_authenticator.c
src/libcharon/sa/authenticators/psk_v1_authenticator.h
src/libcharon/sa/authenticators/pubkey_v1_authenticator.c
src/libcharon/sa/authenticators/pubkey_v1_authenticator.h
src/libcharon/sa/keymat_v1.c
src/libcharon/sa/keymat_v1.h
src/libcharon/sa/tasks/main_mode.c