aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/scalarproduct_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-20 09:32:30 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-20 09:32:30 +0000
commitdca2051799b683ced76973359950dbc2e624d56e (patch)
tree22c713ab6392601addcce051d3bd17e47acf8d2f /src/scalarproduct/scalarproduct_api.c
parent08edde13e140fe0fa7c4b00f6669ee396e00c2f5 (diff)
downloadgnunet-dca2051799b683ced76973359950dbc2e624d56e.tar.gz
gnunet-dca2051799b683ced76973359950dbc2e624d56e.zip
converting scalarproduct alice-ecc to new service API
Diffstat (limited to 'src/scalarproduct/scalarproduct_api.c')
-rw-r--r--src/scalarproduct/scalarproduct_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c
index 5ad64f4be..9606851c8 100644
--- a/src/scalarproduct/scalarproduct_api.c
+++ b/src/scalarproduct/scalarproduct_api.c
@@ -294,7 +294,7 @@ GNUNET_SCALARPRODUCT_accept_computation (const struct GNUNET_CONFIGURATION_Handl
294 size = todo * sizeof (struct GNUNET_SCALARPRODUCT_Element); 294 size = todo * sizeof (struct GNUNET_SCALARPRODUCT_Element);
295 env = GNUNET_MQ_msg_extra (mmsg, 295 env = GNUNET_MQ_msg_extra (mmsg,
296 size, 296 size,
297 GNUNET_MESSAGE_TYPE_SCALARPRODUCT_CLIENT_MUTLIPART_BOB); 297 GNUNET_MESSAGE_TYPE_SCALARPRODUCT_CLIENT_MULTIPART_BOB);
298 mmsg->element_count_contained = htonl (todo); 298 mmsg->element_count_contained = htonl (todo);
299 GNUNET_memcpy (&mmsg[1], 299 GNUNET_memcpy (&mmsg[1],
300 &elements[element_count_transfered], 300 &elements[element_count_transfered],
@@ -454,7 +454,7 @@ GNUNET_SCALARPRODUCT_start_computation (const struct GNUNET_CONFIGURATION_Handle
454 size = todo * sizeof (struct GNUNET_SCALARPRODUCT_Element); 454 size = todo * sizeof (struct GNUNET_SCALARPRODUCT_Element);
455 env = GNUNET_MQ_msg_extra (mmsg, 455 env = GNUNET_MQ_msg_extra (mmsg,
456 size, 456 size,
457 GNUNET_MESSAGE_TYPE_SCALARPRODUCT_CLIENT_MUTLIPART_ALICE); 457 GNUNET_MESSAGE_TYPE_SCALARPRODUCT_CLIENT_MULTIPART_ALICE);
458 mmsg->element_count_contained = htonl (todo); 458 mmsg->element_count_contained = htonl (todo);
459 GNUNET_memcpy (&mmsg[1], 459 GNUNET_memcpy (&mmsg[1],
460 &elements[element_count_transfered], 460 &elements[element_count_transfered],