-fix
[oweals/gnunet.git] / src / include / block_gns.h
index d34e33c5de14643230941f41994b4ea0d5da5288..ffdb294ae15900526a0da728c6a3ac90c5a97be1 100644 (file)
@@ -56,7 +56,7 @@ struct GNSRecordBlock
   //Class of the record?
 
   /* followed by the record data */
-}
+};
 
 /**
  * @brief a record block for a given name of a single authority
@@ -65,28 +65,22 @@ struct GNSNameRecordBlock
 {
 
   /**
-   * GNUNET_RSA_Signature using RSA-key generated from the records.
+   * The public key of the authority
    */
-  struct GNUNET_CRYPTO_RsaSignature signature;
+  struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded public_key;
 
   /**
-   * What is being signed and why?
+   * GNUNET_RSA_Signature using RSA-key generated from the records.
    */
-  struct GNUNET_CRYPTO_RsaSignaturePurpose purpose;
+  struct GNUNET_CRYPTO_RsaSignature signature;
 
-  /**
-   * The public key of the authority
-   */
-  struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded public_key;
+  /* number of records that follow */
+  uint32_t rd_count GNUNET_PACKED;
 
   /* 0-terminated name here */
 
-  /* number of records that follow */
-  uint32_t rd_num GNUNET_PACKED;
-
   /* variable-size GNSRecordBlocks follows here */
 
-
 };
 
 GNUNET_NETWORK_STRUCT_END