[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2160 - GNUnet/src/server
From: |
durner |
Subject: |
[GNUnet-SVN] r2160 - GNUnet/src/server |
Date: |
Tue, 4 Oct 2005 10:25:04 -0700 (PDT) |
Author: durner
Date: 2005-10-04 10:24:59 -0700 (Tue, 04 Oct 2005)
New Revision: 2160
Modified:
GNUnet/src/server/connection.c
Log:
debug info
Modified: GNUnet/src/server/connection.c
===================================================================
--- GNUnet/src/server/connection.c 2005-10-03 20:50:15 UTC (rev 2159)
+++ GNUnet/src/server/connection.c 2005-10-04 17:24:59 UTC (rev 2160)
@@ -2283,6 +2283,24 @@
LOG(LOG_INFO,
"Decrypting message from host `%s' failed, wrong sessionkey!\n",
&enc);
+#if DEBUG_CONNECTION
+ {
+ char skey[65];
+ char *dst;
+ int idx;
+
+ dst = skey;
+ for (idx=0; idx < SESSIONKEY_LEN; idx++) {
+ sprintf(dst, "%02x", be->skey_remote[idx]);
+ dst += 2;
+ }
+ *dst = 0;
+
+ LOG(LOG_DEBUG,
+ "Wrong sessionkey: `%s'\n",
+ &enc);
+ }
+#endif
addHost(sender, YES);
MUTEX_UNLOCK(&lock);
FREE(tmp);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2160 - GNUnet/src/server,
durner <=