summaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index 648e82107..0c75c14c3 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -463,18 +463,14 @@ transmit_task_cb (void *cls,
463 const struct GNUNET_SCHEDULER_TaskContext *tc) 463 const struct GNUNET_SCHEDULER_TaskContext *tc)
464{ 464{
465 struct PeerEntry *peer_entry = cls; 465 struct PeerEntry *peer_entry = cls;
466 uint16_t salt;
467 466
468 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 467 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
469 "Starting set exchange with peer `%s'\n", 468 "Starting set exchange with peer `%s'\n",
470 GNUNET_i2s (&peer_entry->id)); 469 GNUNET_i2s (&peer_entry->id));
471
472 salt = (uint16_t) GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
473 UINT16_MAX);
474 peer_entry->transmit_task = GNUNET_SCHEDULER_NO_TASK; 470 peer_entry->transmit_task = GNUNET_SCHEDULER_NO_TASK;
475 peer_entry->so = GNUNET_SET_prepare (&peer_entry->id, 471 peer_entry->so = GNUNET_SET_prepare (&peer_entry->id,
476 &revocation_set_union_app_id, 472 &revocation_set_union_app_id,
477 NULL, salt, 473 NULL,
478 GNUNET_SET_RESULT_ADDED, 474 GNUNET_SET_RESULT_ADDED,
479 &add_revocation, 475 &add_revocation,
480 peer_entry); 476 peer_entry);