ike: Make check for known payloads depend on IKE version
This commit is contained in:
@@ -2475,7 +2475,7 @@ static status_t decrypt_payloads(private_message_t *this, keymat_t *keymat)
|
||||
was_encrypted = "encrypted fragment payload";
|
||||
}
|
||||
|
||||
if (payload_is_known(type) && !was_encrypted &&
|
||||
if (payload_is_known(type, this->major_version) && !was_encrypted &&
|
||||
!is_connectivity_check(this, payload) &&
|
||||
this->exchange_type != AGGRESSIVE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user