diff options
Diffstat (limited to 'src/revocation/revocation.h')
-rw-r--r-- | src/revocation/revocation.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/revocation/revocation.h b/src/revocation/revocation.h index 38fb476ed..43efd5ff2 100644 --- a/src/revocation/revocation.h +++ b/src/revocation/revocation.h | |||
@@ -11,12 +11,12 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @author Christian Grothoff | 22 | * @author Christian Grothoff |
@@ -33,8 +33,7 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
33 | /** | 33 | /** |
34 | * Query key revocation status. | 34 | * Query key revocation status. |
35 | */ | 35 | */ |
36 | struct QueryMessage | 36 | struct QueryMessage { |
37 | { | ||
38 | /** | 37 | /** |
39 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY | 38 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY |
40 | */ | 39 | */ |
@@ -49,15 +48,13 @@ struct QueryMessage | |||
49 | * Key to check. | 48 | * Key to check. |
50 | */ | 49 | */ |
51 | struct GNUNET_CRYPTO_EcdsaPublicKey key; | 50 | struct GNUNET_CRYPTO_EcdsaPublicKey key; |
52 | |||
53 | }; | 51 | }; |
54 | 52 | ||
55 | 53 | ||
56 | /** | 54 | /** |
57 | * Key revocation response. | 55 | * Key revocation response. |
58 | */ | 56 | */ |
59 | struct QueryResponseMessage | 57 | struct QueryResponseMessage { |
60 | { | ||
61 | /** | 58 | /** |
62 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE | 59 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE |
63 | */ | 60 | */ |
@@ -67,7 +64,6 @@ struct QueryResponseMessage | |||
67 | * #GNUNET_NO if revoked, #GNUNET_YES if valid. | 64 | * #GNUNET_NO if revoked, #GNUNET_YES if valid. |
68 | */ | 65 | */ |
69 | uint32_t is_valid GNUNET_PACKED; | 66 | uint32_t is_valid GNUNET_PACKED; |
70 | |||
71 | }; | 67 | }; |
72 | 68 | ||
73 | 69 | ||
@@ -78,8 +74,7 @@ struct QueryResponseMessage | |||
78 | * #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE (which is just | 74 | * #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE (which is just |
79 | * in a `struct GNUNET_MessageHeader`. | 75 | * in a `struct GNUNET_MessageHeader`. |
80 | */ | 76 | */ |
81 | struct RevokeMessage | 77 | struct RevokeMessage { |
82 | { | ||
83 | /** | 78 | /** |
84 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE | 79 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE |
85 | */ | 80 | */ |
@@ -110,15 +105,13 @@ struct RevokeMessage | |||
110 | * Key to revoke. | 105 | * Key to revoke. |
111 | */ | 106 | */ |
112 | struct GNUNET_CRYPTO_EcdsaPublicKey public_key; | 107 | struct GNUNET_CRYPTO_EcdsaPublicKey public_key; |
113 | |||
114 | }; | 108 | }; |
115 | 109 | ||
116 | 110 | ||
117 | /** | 111 | /** |
118 | * Key revocation response. | 112 | * Key revocation response. |
119 | */ | 113 | */ |
120 | struct RevocationResponseMessage | 114 | struct RevocationResponseMessage { |
121 | { | ||
122 | /** | 115 | /** |
123 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE | 116 | * Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE |
124 | */ | 117 | */ |
@@ -129,7 +122,6 @@ struct RevocationResponseMessage | |||
129 | * #GNUNET_YES on success | 122 | * #GNUNET_YES on success |
130 | */ | 123 | */ |
131 | uint32_t is_valid GNUNET_PACKED; | 124 | uint32_t is_valid GNUNET_PACKED; |
132 | |||
133 | }; | 125 | }; |
134 | 126 | ||
135 | 127 | ||