dump CHILD_SA keys in loglevel 4

This commit is contained in:
Martin Willi 2009-04-21 09:29:23 +00:00
parent b752f8735a
commit 405e30a4a7

View File

@ -463,6 +463,16 @@ static bool derive_child_keys(private_keymat_t *this,
prf_plus->destroy(prf_plus);
if (enc_size)
{
DBG4(DBG_CHD, "encryption initiator key %B", encr_i);
DBG4(DBG_CHD, "encryption responder key %B", encr_r);
}
if (int_size)
{
DBG4(DBG_CHD, "integrity initiator key %B", integ_i);
DBG4(DBG_CHD, "integrity responder key %B", integ_r);
}
return TRUE;
}