mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-09 00:00:53 -04:00
dump CHILD_SA keys in loglevel 4
This commit is contained in:
parent
b752f8735a
commit
405e30a4a7
@ -463,6 +463,16 @@ static bool derive_child_keys(private_keymat_t *this,
|
|||||||
|
|
||||||
prf_plus->destroy(prf_plus);
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user