summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------contrib/gana0
-rw-r--r--src/gnsrecord/gnsrecord_crypto.c2
2 files changed, 0 insertions, 2 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject 6b889c206c1948cf7180e9d5478fd8fba65617e
+Subproject ca97ba9b2ba3d47197456dec2ec4a4c9358329f
diff --git a/src/gnsrecord/gnsrecord_crypto.c b/src/gnsrecord/gnsrecord_crypto.c
index a1870feba..01c47a8e0 100644
--- a/src/gnsrecord/gnsrecord_crypto.c
+++ b/src/gnsrecord/gnsrecord_crypto.c
@@ -253,7 +253,6 @@ block_create_ecdsa (const struct GNUNET_CRYPTO_EcdsaPrivateKey *key,
/* serialize */
*block = GNUNET_malloc (sizeof (struct GNUNET_GNSRECORD_Block) + payload_len);
(*block)->size = htonl(sizeof (struct GNUNET_GNSRECORD_Block) + payload_len);
- rd_count_nbo = htonl (rd_count);
{
char payload[payload_len];
@@ -379,7 +378,6 @@ block_create_eddsa (const struct GNUNET_CRYPTO_EddsaPrivateKey *key,
+ payload_len + crypto_secretbox_MACBYTES);
(*block)->size = htonl(sizeof (struct GNUNET_GNSRECORD_Block)
+ payload_len + crypto_secretbox_MACBYTES);
- rd_count_nbo = htonl (rd_count);
{
char payload[payload_len];