aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/revocation_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/revocation_api.c')
-rw-r--r--src/revocation/revocation_api.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index 0b9bc4ea6..8c00ac2ae 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -113,13 +113,13 @@ GNUNET_REVOCATION_query (const struct GNUNET_CONFIGURATION_Handle *cfg,
113 GNUNET_REVOCATION_Callback func, 113 GNUNET_REVOCATION_Callback func,
114 void *func_cls) 114 void *func_cls)
115{ 115{
116 GNUNET_MQ_hd_fixed_size (revocation_query_response,
117 GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE,
118 struct QueryResponseMessage);
119 struct GNUNET_REVOCATION_Query *q 116 struct GNUNET_REVOCATION_Query *q
120 = GNUNET_new (struct GNUNET_REVOCATION_Query); 117 = GNUNET_new (struct GNUNET_REVOCATION_Query);
121 struct GNUNET_MQ_MessageHandler handlers[] = { 118 struct GNUNET_MQ_MessageHandler handlers[] = {
122 make_revocation_query_response_handler (q), 119 GNUNET_MQ_hd_fixed_size (revocation_query_response,
120 GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE,
121 struct QueryResponseMessage,
122 q),
123 GNUNET_MQ_handler_end () 123 GNUNET_MQ_handler_end ()
124 }; 124 };
125 struct QueryMessage *qm; 125 struct QueryMessage *qm;
@@ -255,13 +255,13 @@ GNUNET_REVOCATION_revoke (const struct GNUNET_CONFIGURATION_Handle *cfg,
255 GNUNET_REVOCATION_Callback func, 255 GNUNET_REVOCATION_Callback func,
256 void *func_cls) 256 void *func_cls)
257{ 257{
258 GNUNET_MQ_hd_fixed_size (revocation_response,
259 GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE,
260 struct RevocationResponseMessage);
261 struct GNUNET_REVOCATION_Handle *h 258 struct GNUNET_REVOCATION_Handle *h
262 = GNUNET_new (struct GNUNET_REVOCATION_Handle); 259 = GNUNET_new (struct GNUNET_REVOCATION_Handle);
263 struct GNUNET_MQ_MessageHandler handlers[] = { 260 struct GNUNET_MQ_MessageHandler handlers[] = {
264 make_revocation_response_handler (h), 261 GNUNET_MQ_hd_fixed_size (revocation_response,
262 GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE,
263 struct RevocationResponseMessage,
264 h),
265 GNUNET_MQ_handler_end () 265 GNUNET_MQ_handler_end ()
266 }; 266 };
267 unsigned long long matching_bits; 267 unsigned long long matching_bits;