corrected ME_ENDPOINT length check

This commit is contained in:
Tobias Brunner
2008-03-27 12:29:51 +00:00
parent 52a61742e7
commit b42421a04c
@@ -333,7 +333,8 @@ static status_t verify(private_notify_payload_t *this)
break;
}
case ME_ENDPOINT:
if (this->notification_data.len != 12 ||
if (this->notification_data.len != 8 &&
this->notification_data.len != 12 &&
this->notification_data.len != 24)
{
bad_length = TRUE;