diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index c6e65926b..2917e4ff7 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -3273,10 +3273,17 @@ GCT_debug (const struct CadetTunnel *t, enum GNUNET_ErrorType level) | |||
3273 | GNUNET_h2s ((struct GNUNET_HashCode *) &kx_msg.ephemeral_key)); | 3273 | GNUNET_h2s ((struct GNUNET_HashCode *) &kx_msg.ephemeral_key)); |
3274 | LOG2 (level, "TTT peers EPHM:\t %s\n", | 3274 | LOG2 (level, "TTT peers EPHM:\t %s\n", |
3275 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->peers_ephemeral_key)); | 3275 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->peers_ephemeral_key)); |
3276 | LOG (level, "TTT ENC key:\t %s\n", | 3276 | LOG2 (level, "TTT ENC key:\t %s\n", |
3277 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->e_key)); | 3277 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->e_key)); |
3278 | LOG (level, "TTT DEC key:\t %s\n", | 3278 | LOG2 (level, "TTT DEC key:\t %s\n", |
3279 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->d_key)); | 3279 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->d_key)); |
3280 | if (t->kx_ctx) | ||
3281 | { | ||
3282 | LOG2 (level, "TTT OLD ENC key:\t %s\n", | ||
3283 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->kx_ctx->e_key_old)); | ||
3284 | LOG2 (level, "TTT OLD DEC key:\t %s\n", | ||
3285 | GNUNET_h2s ((struct GNUNET_HashCode *) &t->kx_ctx->d_key_old)); | ||
3286 | } | ||
3280 | #endif | 3287 | #endif |
3281 | LOG2 (level, "TTT tq_head %p, tq_tail %p\n", t->tq_head, t->tq_tail); | 3288 | LOG2 (level, "TTT tq_head %p, tq_tail %p\n", t->tq_head, t->tq_tail); |
3282 | LOG2 (level, "TTT destroy %u\n", t->destroy_task); | 3289 | LOG2 (level, "TTT destroy %u\n", t->destroy_task); |