aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/revocation_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-06 22:00:14 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-06 22:00:14 +0000
commit9f7e7d369a842fe1621bc4b9af64ac3e5f609bde (patch)
treece8a877ecca413cc82013786c49ecb64920d34a4 /src/revocation/revocation_api.c
parentba414944bc487d03442a05a8d6415ce8d536ddd0 (diff)
downloadgnunet-9f7e7d369a842fe1621bc4b9af64ac3e5f609bde.tar.gz
gnunet-9f7e7d369a842fe1621bc4b9af64ac3e5f609bde.zip
-finishing revocation command line tool
Diffstat (limited to 'src/revocation/revocation_api.c')
-rw-r--r--src/revocation/revocation_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index acc13ba67..ebf85a94e 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -294,8 +294,8 @@ send_revoke (void *cls,
294 GNUNET_REVOCATION_revoke_cancel (h); 294 GNUNET_REVOCATION_revoke_cancel (h);
295 return 0; 295 return 0;
296 } 296 }
297 rm.header.size = htons (sizeof (struct QueryMessage)); 297 rm.header.size = htons (sizeof (struct RevokeMessage));
298 rm.header.type = htons (GNUNET_MESSAGE_TYPE_REVOCATION_QUERY); 298 rm.header.type = htons (GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE);
299 rm.reserved = htonl (0); 299 rm.reserved = htonl (0);
300 rm.proof_of_work = h->pow; 300 rm.proof_of_work = h->pow;
301 rm.purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_REVOCATION); 301 rm.purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_REVOCATION);