diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-07-16 11:11:40 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-07-16 11:11:40 +0000 |
commit | 41479de2a35d2c73cf1f6357af37e8324122e90e (patch) | |
tree | 1bb9e1838cf3b7031a0c15696225a4c54af4f0c0 /src/nse/nse.h | |
parent | d365e39801ca22440b48ca2fb39c41604d0efc66 (diff) | |
download | gnunet-41479de2a35d2c73cf1f6357af37e8324122e90e.tar.gz gnunet-41479de2a35d2c73cf1f6357af37e8324122e90e.zip |
nse updates
Diffstat (limited to 'src/nse/nse.h')
-rw-r--r-- | src/nse/nse.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nse/nse.h b/src/nse/nse.h index 59dd6bc1b..245bd4ca7 100644 --- a/src/nse/nse.h +++ b/src/nse/nse.h | |||
@@ -30,7 +30,9 @@ | |||
30 | 30 | ||
31 | #include "gnunet_common.h" | 31 | #include "gnunet_common.h" |
32 | 32 | ||
33 | #define DEBUG_NSE GNUNET_YES | 33 | #define DEBUG_NSE GNUNET_NO |
34 | |||
35 | #define VERIFY_CRYPTO GNUNET_NO | ||
34 | 36 | ||
35 | 37 | ||
36 | /** | 38 | /** |
@@ -95,16 +97,16 @@ struct GNUNET_NSE_FloodMessage | |||
95 | struct GNUNET_MessageHeader header; | 97 | struct GNUNET_MessageHeader header; |
96 | 98 | ||
97 | /** | 99 | /** |
98 | * Magic header code(?) | 100 | * Purpose. |
99 | */ | 101 | */ |
100 | uint16_t enc_type; | 102 | struct GNUNET_CRYPTO_RsaSignaturePurpose purpose; |
101 | 103 | ||
102 | /** | 104 | /** |
103 | * Number of matching bits between the hash | 105 | * Number of matching bits between the hash |
104 | * of timestamp and the initiator's public | 106 | * of timestamp and the initiator's public |
105 | * key. | 107 | * key. |
106 | */ | 108 | */ |
107 | uint16_t distance; | 109 | uint32_t distance; |
108 | 110 | ||
109 | /** | 111 | /** |
110 | * The current timestamp value (which all | 112 | * The current timestamp value (which all |