aboutsummaryrefslogtreecommitdiff
path: root/src/include/block_gns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/block_gns.h')
-rw-r--r--src/include/block_gns.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/include/block_gns.h b/src/include/block_gns.h
index 4514acf..ffdb294 100644
--- a/src/include/block_gns.h
+++ b/src/include/block_gns.h
@@ -65,19 +65,14 @@ struct GNSNameRecordBlock
{
/**
- * GNUNET_RSA_Signature using RSA-key generated from the records.
- */
- struct GNUNET_CRYPTO_RsaSignature signature;
-
- /**
- * What is being signed and why?
+ * The public key of the authority
*/
- struct GNUNET_CRYPTO_RsaSignaturePurpose purpose;
+ struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded public_key;
/**
- * The public key of the authority
+ * GNUNET_RSA_Signature using RSA-key generated from the records.
*/
- struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded public_key;
+ struct GNUNET_CRYPTO_RsaSignature signature;
/* number of records that follow */
uint32_t rd_count GNUNET_PACKED;
@@ -86,7 +81,6 @@ struct GNSNameRecordBlock
/* variable-size GNSRecordBlocks follows here */
-
};
GNUNET_NETWORK_STRUCT_END