Print message payload names after prepending IKEv1 HASH payload
This commit is contained in:
parent
da063ec95e
commit
d020d4d695
|
@ -1402,8 +1402,6 @@ METHOD(message_t, generate, status_t,
|
|||
order_payloads(this);
|
||||
}
|
||||
|
||||
DBG1(DBG_ENC, "generating %s", get_string(this, str, sizeof(str)));
|
||||
|
||||
if (this->major_version == IKEV2_MAJOR_VERSION)
|
||||
{
|
||||
encrypted = this->rule->encrypted;
|
||||
|
@ -1438,6 +1436,8 @@ METHOD(message_t, generate, status_t,
|
|||
enumerator->destroy(enumerator);
|
||||
}
|
||||
|
||||
DBG1(DBG_ENC, "generating %s", get_string(this, str, sizeof(str)));
|
||||
|
||||
aead = keymat->get_aead(keymat, FALSE);
|
||||
if (aead && encrypted)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue