aboutsummaryrefslogtreecommitdiff
path: root/src/include/block_gns.h
diff options
context:
space:
mode:
authorBertrand Marc <beberking@gmail.com>2012-06-06 20:47:50 +0200
committerBertrand Marc <beberking@gmail.com>2012-06-06 20:47:50 +0200
commit15d0a119987bc62675a17dea2c24b652a42c53e3 (patch)
treed6598fb09c24a8004da21bee1a19f3f1ea37c66c /src/include/block_gns.h
parentc47dd4e3165b7894669d8f7f800bac75ac8ad95c (diff)
parent740b30688bd745a527f96f9116c19acb3480971a (diff)
Merge tag 'upstream/0.9.3'
Upstream version 0.9.3
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