diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index e540a6ce8..44e2b9af9 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -3089,6 +3089,8 @@ GCT_handle_encrypted (struct CadetTunnel *t, | |||
3089 | if (-1 == decrypted_size) | 3089 | if (-1 == decrypted_size) |
3090 | { | 3090 | { |
3091 | GNUNET_break_op (0); | 3091 | GNUNET_break_op (0); |
3092 | LOG (GNUNET_ERROR_TYPE_WARNING, "Wrong crypto on tunnel %s\n", GCT_2s (t)); | ||
3093 | GCT_debug (t, GNUNET_ERROR_TYPE_WARNING); | ||
3092 | return; | 3094 | return; |
3093 | } | 3095 | } |
3094 | 3096 | ||
@@ -4365,26 +4367,26 @@ ax_debug (const struct CadetTunnelAxolotl *ax, enum GNUNET_ErrorType level) | |||
4365 | struct CadetTunnelSkippedKey *iter; | 4367 | struct CadetTunnelSkippedKey *iter; |
4366 | 4368 | ||
4367 | 4369 | ||
4368 | LOG2 (level, "TTT RK\t %s\n", | 4370 | LOG2 (level, "TTT RK \t %s\n", |
4369 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->RK)); | 4371 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->RK)); |
4370 | 4372 | ||
4371 | LOG2 (level, "TTT HKs\t %s\n", | 4373 | LOG2 (level, "TTT HKs \t %s\n", |
4372 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->HKs)); | 4374 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->HKs)); |
4373 | LOG2 (level, "TTT HKr\t %s\n", | 4375 | LOG2 (level, "TTT HKr \t %s\n", |
4374 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->HKr)); | 4376 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->HKr)); |
4375 | LOG2 (level, "TTT NHKs\t %s\n", | 4377 | LOG2 (level, "TTT NHKs\t %s\n", |
4376 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->NHKs)); | 4378 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->NHKs)); |
4377 | LOG2 (level, "TTT NHKr\t %s\n", | 4379 | LOG2 (level, "TTT NHKr\t %s\n", |
4378 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->NHKr)); | 4380 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->NHKr)); |
4379 | 4381 | ||
4380 | LOG2 (level, "TTT CKs\t %s\n", | 4382 | LOG2 (level, "TTT CKs \t %s\n", |
4381 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->CKs)); | 4383 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->CKs)); |
4382 | LOG2 (level, "TTT CKr\t %s\n", | 4384 | LOG2 (level, "TTT CKr \t %s\n", |
4383 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->CKr)); | 4385 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->CKr)); |
4384 | 4386 | ||
4385 | GNUNET_CRYPTO_ecdhe_key_get_public (ax->DHRs, &pub); | 4387 | GNUNET_CRYPTO_ecdhe_key_get_public (ax->DHRs, &pub); |
4386 | LOG2 (level, "TTT DHRs\t %s\n", | 4388 | LOG2 (level, "TTT DHRs\t %s\n", |
4387 | GNUNET_i2s ((struct GNUNET_PeerIdentity *) &pub)); | 4389 | GNUNET_h2s ((struct GNUNET_HashCode *) &pub)); |
4388 | LOG2 (level, "TTT DHRr\t %s\n", | 4390 | LOG2 (level, "TTT DHRr\t %s\n", |
4389 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->DHRr)); | 4391 | GNUNET_h2s ((struct GNUNET_HashCode *) &ax->DHRr)); |
4390 | 4392 | ||