diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-01 10:55:59 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-01 10:55:59 +0200 |
commit | e8b7707f833739851227d4865e6c6064865f19ec (patch) | |
tree | 877d79547a1cbf8f9294bbc295b239c25c85b910 /src | |
parent | 059a92168bd4d765d19b4f2fcfc8b451d9abdca5 (diff) | |
download | gnunet-e8b7707f833739851227d4865e6c6064865f19ec.tar.gz gnunet-e8b7707f833739851227d4865e6c6064865f19ec.zip |
DHT: Swap signature and peer id fields in path element lsd0004
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_dht_service.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h index 49a7831e6..ebc6e2767 100644 --- a/src/include/gnunet_dht_service.h +++ b/src/include/gnunet_dht_service.h | |||
@@ -160,6 +160,11 @@ struct GNUNET_DHT_HopSignature | |||
160 | */ | 160 | */ |
161 | struct GNUNET_DHT_PathElement | 161 | struct GNUNET_DHT_PathElement |
162 | { | 162 | { |
163 | /** | ||
164 | * Signature affirming the hop of type | ||
165 | * #GNUNET_SIGNATURE_PURPOSE_DHT_HOP. | ||
166 | */ | ||
167 | struct GNUNET_CRYPTO_EddsaSignature sig; | ||
163 | 168 | ||
164 | /** | 169 | /** |
165 | * Previous peer on the path (matches "pred" in the signed field). | 170 | * Previous peer on the path (matches "pred" in the signed field). |
@@ -173,12 +178,6 @@ struct GNUNET_DHT_PathElement | |||
173 | */ | 178 | */ |
174 | struct GNUNET_PeerIdentity pred; | 179 | struct GNUNET_PeerIdentity pred; |
175 | 180 | ||
176 | /** | ||
177 | * Signature affirming the hop of type | ||
178 | * #GNUNET_SIGNATURE_PURPOSE_DHT_HOP. | ||
179 | */ | ||
180 | struct GNUNET_CRYPTO_EddsaSignature sig; | ||
181 | |||
182 | }; | 181 | }; |
183 | 182 | ||
184 | 183 | ||