[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1506 - GNUnet/src/applications/pingpong
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1506 - GNUnet/src/applications/pingpong |
Date: |
Wed, 13 Jul 2005 20:52:04 -0700 (PDT) |
Author: grothoff
Date: 2005-07-13 20:52:02 -0700 (Wed, 13 Jul 2005)
New Revision: 1506
Modified:
GNUnet/src/applications/pingpong/pingpong.c
Log:
not yet
Modified: GNUnet/src/applications/pingpong/pingpong.c
===================================================================
--- GNUnet/src/applications/pingpong/pingpong.c 2005-07-14 03:50:44 UTC (rev
1505)
+++ GNUnet/src/applications/pingpong/pingpong.c 2005-07-14 03:52:02 UTC (rev
1506)
@@ -53,6 +53,13 @@
p2p_HEADER header;
/**
+ * Which peer is the target of the ping? This is important since for
+ * plaintext-pings, we need to catch faulty advertisements that
+ * advertise a correct address but with the wrong public key.
+ */
+ PeerIdentity receiver;
+
+ /**
* The challenge is a (pseudo) random number that an adversary that
* wants to fake a pong message would have to guess. Since even if
* the number is guessed, the security impact is at most some wasted
@@ -60,13 +67,6 @@
*/
int challenge;
- /**
- * Which peer is the target of the ping? This is important since for
- * plaintext-pings, we need to catch faulty advertisements that
- * advertise a correct address but with the wrong public key.
- */
- PeerIdentity receiver;
-
} PINGPONG_Message;
#define DEBUG_PINGPONG NO
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1506 - GNUnet/src/applications/pingpong,
grothoff <=