projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c122188
)
- log EPHM on receipt
author
Bart Polot
<bart@net.in.tum.de>
Mon, 15 Dec 2014 07:17:35 +0000
(07:17 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 15 Dec 2014 07:17:35 +0000
(07:17 +0000)
src/cadet/gnunet-service-cadet_tunnel.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_tunnel.c
b/src/cadet/gnunet-service-cadet_tunnel.c
index 69d9fcf44911993caf4afec3a43f7577870ccbbb..1be70594e9dc50f8dcf0f2637462bb9e8d9e8f23 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_tunnel.c
+++ b/
src/cadet/gnunet-service-cadet_tunnel.c
@@
-1878,6
+1878,12
@@
handle_ephemeral (struct CadetTunnel *t,
if (0 != memcmp (&t->peers_ephemeral_key, &msg->ephemeral_key,
sizeof (msg->ephemeral_key)))
{
+ #if DUMP_KEYS_TO_STDERR
+ LOG (GNUNET_ERROR_TYPE_INFO, "OLD: %s\n",
+ GNUNET_h2s ((struct GNUNET_HashCode *) &t->peers_ephemeral_key));
+ LOG (GNUNET_ERROR_TYPE_INFO, "NEW: %s\n",
+ GNUNET_h2s ((struct GNUNET_HashCode *) &msg->ephemeral_key));
+ #endif
t->peers_ephemeral_key = msg->ephemeral_key;
create_kx_ctx (t);
create_keys (t);