aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-service-scalarproduct_bob.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-11 14:09:06 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-11 14:09:06 +0000
commit9c9b5646c4095acf1af2ae09b6930fb82da360c5 (patch)
tree1117c0d3f2ef130c47638deeb434f50bc144afa7 /src/scalarproduct/gnunet-service-scalarproduct_bob.c
parent2668734ee147f9628666dd00531ef19989a45ecb (diff)
downloadgnunet-9c9b5646c4095acf1af2ae09b6930fb82da360c5.tar.gz
gnunet-9c9b5646c4095acf1af2ae09b6930fb82da360c5.zip
respect new CADET limit
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct_bob.c')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_bob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_bob.c b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
index 29e2d7eed..2c6d607e5 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct_bob.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
@@ -542,7 +542,7 @@ bob_cadet_done_cb (void *cls)
542/** 542/**
543 * Maximum count of elements we can put into a multipart message 543 * Maximum count of elements we can put into a multipart message
544 */ 544 */
545#define ELEMENT_CAPACITY ((GNUNET_SERVER_MAX_MESSAGE_SIZE - 1 - sizeof (struct BobCryptodataMultipartMessage)) / sizeof (struct GNUNET_CRYPTO_PaillierCiphertext)) 545#define ELEMENT_CAPACITY ((GNUNET_CONSTANTS_MAX_CADET_MESSAGE_SIZE - sizeof (struct BobCryptodataMultipartMessage)) / sizeof (struct GNUNET_CRYPTO_PaillierCiphertext))
546 546
547 547
548/** 548/**