diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2014-05-20 09:28:27 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2014-05-20 09:28:27 +0000 |
commit | 9928bcda2275e422930209ac47d61104422563e8 (patch) | |
tree | 8b043393a89624ef1962313198a77ac797c99200 /src/scalarproduct | |
parent | 90981ab5c69a3264b02fef933bcc871022fa3190 (diff) | |
download | gnunet-9928bcda2275e422930209ac47d61104422563e8.tar.gz gnunet-9928bcda2275e422930209ac47d61104422563e8.zip |
- removed redundant and bugged check from SP intersection handling
Diffstat (limited to 'src/scalarproduct')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct.c b/src/scalarproduct/gnunet-service-scalarproduct.c index abf6daa03..c91693e0e 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct.c +++ b/src/scalarproduct/gnunet-service-scalarproduct.c | |||
@@ -1170,10 +1170,6 @@ cb_intersection_request_alice (void *cls, | |||
1170 | { | 1170 | { |
1171 | struct ServiceSession * s = (struct ServiceSession *) cls; | 1171 | struct ServiceSession * s = (struct ServiceSession *) cls; |
1172 | 1172 | ||
1173 | // check the peer-id, the app-id=session-id is compared by SET | ||
1174 | if (0 != memcmp (&s->peer, &other_peer, sizeof (struct GNUNET_PeerIdentity))) | ||
1175 | return; | ||
1176 | |||
1177 | s->intersection_op = GNUNET_SET_accept (request, | 1173 | s->intersection_op = GNUNET_SET_accept (request, |
1178 | GNUNET_SET_RESULT_REMOVED, | 1174 | GNUNET_SET_RESULT_REMOVED, |
1179 | cb_intersection_element_removed, | 1175 | cb_intersection_element_removed, |