gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 53/164: Reverte change to changes salt


From: gnunet
Subject: [gnunet] 53/164: Reverte change to changes salt
Date: Fri, 30 Jul 2021 15:31:59 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

commit 4ff1cb7c630f6ff70b2b2376eb8ac7594be47cb5
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Wed Apr 21 21:39:05 2021 +0200

    Reverte change to changes salt
---
 src/setu/gnunet-service-setu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index 0d4b7c49e..e929b6a66 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -1895,7 +1895,7 @@ decode_and_send (struct Operation *op)
         perf_rtt.active_passive_switches += 1;
         op->active_passive_switches += 1;
 
-        op->salt_send = (op->peer_site * 32) + op->active_passive_switches;
+        op->salt_send = op->salt_receive++; // (op->peer_site * 32) + 
op->active_passive_switches;
 
 
         if (GNUNET_OK !=
@@ -3719,7 +3719,7 @@ handle_client_evaluate (void *cls,
     op->se = strata_estimator_dup (op->set->se);
     /* we started the operation, thus we have to send the operation request */
     op->phase = PHASE_EXPECT_SE;
-    op->salt_receive = op->salt_send = (op->peer_site * 32); // FIXME?????
+    op->salt_receive = op->salt_send = 42; //(op->peer_site * 32); // 
FIXME?????
     LOG (GNUNET_ERROR_TYPE_DEBUG,
          "Initiating union operation evaluation\n");
     GNUNET_STATISTICS_update (_GSS_statistics,
@@ -3894,7 +3894,7 @@ handle_client_accept (void *cls,
     op->se = strata_estimator_dup (op->set->se);
     op->demanded_hashes = GNUNET_CONTAINER_multihashmap_create (32,
                                                                 GNUNET_NO);
-    op->salt_receive = op->salt_send = (op->peer_site * 32); // FIXME?????
+    op->salt_receive = op->salt_send = 42; // (op->peer_site * 32); // 
FIXME?????
     initialize_key_to_element (op);
     op->initial_size = GNUNET_CONTAINER_multihashmap32_size (
       op->key_to_element);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]