projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fix coverity
[oweals/gnunet.git]
/
src
/
scalarproduct
/
gnunet-service-scalarproduct-ecc_alice.c
diff --git
a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
index 196bdbeeb9b591304f1e81e8bc5af01133935402..bf5ee124193e7b09e317abda2477d3a82a43c3ec 100644
(file)
--- 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,
ai_bi = GNUNET_CRYPTO_ecc_dlog (edc,
g_ai_bi);
gcry_mpi_point_release (g_ai_bi);
- if (
MAX_RESULT
== ai_bi)
+ if (
INT_MAX
== ai_bi)
{
/* result too big */
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,