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