summaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-18 15:47:51 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-18 15:47:51 +0200
commitbd86cc24adeddd8738cf1a6e6178124cb181e386 (patch)
tree2f8dcdb997ab31e63d334e9a5dfd8262b61046cf /src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
parent6c7e16a28778b93622117a09b7b30eaad5f5fdae (diff)
-SCALARPRODUCT: fix FTBFS ecc-bob with new libsodium-based crypto
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
index 2c853d95c..59f422f9e 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
@@ -983,9 +983,7 @@ handle_alice_client_message (void *cls,
if (0 == GNUNET_ntohll (elements[i].value))
continue;
elem = GNUNET_new (struct GNUNET_SCALARPRODUCT_Element);
- GNUNET_memcpy (elem,
- &elements[i],
- sizeof(struct GNUNET_SCALARPRODUCT_Element));
+ *elem = elements[i];
if (GNUNET_SYSERR ==
GNUNET_CONTAINER_multihashmap_put (
s->intersected_elements,