gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r34576 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r34576 - gnunet/src/cadet
Date: Mon, 15 Dec 2014 08:17:35 +0100

Author: bartpolot
Date: 2014-12-15 08:17:35 +0100 (Mon, 15 Dec 2014)
New Revision: 34576

Modified:
   gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- log EPHM on receipt

Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-12-15 07:17:34 UTC 
(rev 34575)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-12-15 07:17:35 UTC 
(rev 34576)
@@ -1878,6 +1878,12 @@
   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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]