Handle INFORMATIONAL_V1 messages when no keys have been derived yet.
authorTobias Brunner <tobias@strongswan.org>
Fri, 25 Nov 2011 16:45:30 +0000 (17:45 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Mar 2012 16:31:08 +0000 (17:31 +0100)
commit983e852af87ec33cb30a96fe09414cc1646f360a
tree9d9200e4d3eaea1885305fa3d9d186c0a241fd31
parente6732003f471032779ce5a88004bcdc02b22f9a6
Handle INFORMATIONAL_V1 messages when no keys have been derived yet.

This allows to gracefully process the INFORMATIONAL_V1 message rules which
require the payloads to be encrypted and thus the exchange to be
authenticated with a HASH payload.  If such an exchange is now initiated
before the ISAKMP_SA is established, the message is simply sent unencrypted
and without HASH payload.
src/libcharon/encoding/message.c
src/libcharon/sa/keymat_v1.c