Accept unencrypted Aggressive Mode messages.
Racoon does not encrypt the third message during Aggressive Mode.
This commit is contained in:
@@ -1882,7 +1882,8 @@ static status_t decrypt_payloads(private_message_t *this, keymat_t *keymat)
|
|||||||
encryption->destroy(encryption);
|
encryption->destroy(encryption);
|
||||||
}
|
}
|
||||||
if (payload_is_known(type) && !was_encrypted &&
|
if (payload_is_known(type) && !was_encrypted &&
|
||||||
!is_connectivity_check(this, payload))
|
!is_connectivity_check(this, payload) &&
|
||||||
|
this->exchange_type != AGGRESSIVE)
|
||||||
{
|
{
|
||||||
rule = get_payload_rule(this, type);
|
rule = get_payload_rule(this, type);
|
||||||
if (!rule || rule->encrypted)
|
if (!rule || rule->encrypted)
|
||||||
|
|||||||
Reference in New Issue
Block a user