aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/namestore_api.c')
-rw-r--r--src/namestore/namestore_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index acc9b4e37..98148ba1e 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -275,7 +275,9 @@ handle_lookup_block_response (struct GNUNET_NAMESTORE_QueueEntry *qe,
275 block->signature = msg->signature; 275 block->signature = msg->signature;
276 block->derived_key = msg->derived_key; 276 block->derived_key = msg->derived_key;
277 block->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN); 277 block->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN);
278 block->purpose.size = htonl (size - sizeof (struct LookupBlockResponseMessage) + sizeof (struct GNUNET_TIME_AbsoluteNBO)); 278 block->purpose.size = htonl (size - sizeof (struct LookupBlockResponseMessage) +
279 sizeof (struct GNUNET_TIME_AbsoluteNBO) +
280 sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose));
279 block->expiration_time = msg->expire; 281 block->expiration_time = msg->expire;
280 memcpy (&block[1], 282 memcpy (&block[1],
281 &msg[1], 283 &msg[1],