IKEv1: Added basic support for INFORMATIONAL exchange types, and for NOTIFY_V1 messages in the 3rd message in quick_mode.

This commit is contained in:
Clavister OpenSource
2012-03-20 17:31:11 +01:00
parent f00ffe4dd2
commit 07abb470c6
4 changed files with 83 additions and 12 deletions
@@ -413,7 +413,7 @@ METHOD(payload_t, verify, status_t,
case INVALID_MAJOR_VERSION:
case NO_PROPOSAL_CHOSEN:
{
if (this->notify_data.len != 0)
if ((this->notify_data.len != 0) && (this->type == NOTIFY))
{
bad_length = TRUE;
}