aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-06 13:25:24 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-06 13:25:24 +0000
commit6cef8fea0c3b6756870786ebc4db0588373c8f65 (patch)
tree12c4eaf2b805f223e5170b5ce74829212a01d467 /src/scalarproduct
parent43864a32204bf109593cbfbc5801f89cf39b7bfa (diff)
downloadgnunet-6cef8fea0c3b6756870786ebc4db0588373c8f65.tar.gz
gnunet-6cef8fea0c3b6756870786ebc4db0588373c8f65.zip
fix dlog API for mteich
Diffstat (limited to 'src/scalarproduct')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
index 196bdbeeb..bf5ee1241 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
@@ -472,7 +472,7 @@ compute_scalar_product (struct AliceServiceSession *session,
472 ai_bi = GNUNET_CRYPTO_ecc_dlog (edc, 472 ai_bi = GNUNET_CRYPTO_ecc_dlog (edc,
473 g_ai_bi); 473 g_ai_bi);
474 gcry_mpi_point_release (g_ai_bi); 474 gcry_mpi_point_release (g_ai_bi);
475 if (MAX_RESULT == ai_bi) 475 if (INT_MAX == ai_bi)
476 { 476 {
477 /* result too big */ 477 /* result too big */
478 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 478 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,