gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit e8b7707f833739851227d4865e6c6064865f19ec
parent 059a92168bd4d765d19b4f2fcfc8b451d9abdca5
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Mon,  1 Aug 2022 10:55:59 +0200

DHT: Swap signature and peer id fields in path element lsd0004

Diffstat:
Msrc/include/gnunet_dht_service.h | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h @@ -160,6 +160,11 @@ struct GNUNET_DHT_HopSignature */ struct GNUNET_DHT_PathElement { + /** + * Signature affirming the hop of type + * #GNUNET_SIGNATURE_PURPOSE_DHT_HOP. + */ + struct GNUNET_CRYPTO_EddsaSignature sig; /** * Previous peer on the path (matches "pred" in the signed field). @@ -173,12 +178,6 @@ struct GNUNET_DHT_PathElement */ struct GNUNET_PeerIdentity pred; - /** - * Signature affirming the hop of type - * #GNUNET_SIGNATURE_PURPOSE_DHT_HOP. - */ - struct GNUNET_CRYPTO_EddsaSignature sig; - };