diff options
author | Martin Willi <martin@strongswan.org> | 2009-04-21 09:29:23 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-04-21 09:29:23 +0000 |
commit | 405e30a4a7955894d2dfd0ce9631f73c2215e94f (patch) | |
tree | cb17dccaafd1dce17d0f906e4bb075f846279637 | |
parent | b752f8735a52b4d91cb57e3d1a67243d79813b14 (diff) | |
download | strongswan-405e30a4a7955894d2dfd0ce9631f73c2215e94f.tar.bz2 strongswan-405e30a4a7955894d2dfd0ce9631f73c2215e94f.tar.xz |
dump CHILD_SA keys in loglevel 4
-rw-r--r-- | src/charon/sa/keymat.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/charon/sa/keymat.c b/src/charon/sa/keymat.c index b2e646c93..819ff5a37 100644 --- a/src/charon/sa/keymat.c +++ b/src/charon/sa/keymat.c @@ -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; } |