You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by sa...@apache.org on 2020/02/13 11:29:32 UTC
[incubator-milagro-MPC] branch review updated: fix zk verify
This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a commit to branch review
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
The following commit(s) were added to refs/heads/review by this push:
new d357b06 fix zk verify
d357b06 is described below
commit d357b068890e0c972069245b68a61951d10aecdf
Author: Samuele Andreoli <sa...@yahoo.it>
AuthorDate: Thu Feb 13 11:29:17 2020 +0000
fix zk verify
---
src/mta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mta.c b/src/mta.c
index ca7e1df..c8fba17 100644
--- a/src/mta.c
+++ b/src/mta.c
@@ -938,7 +938,7 @@ int MTA_ZK_verify(PAILLIER_private_key *key, COMMITMENTS_BC_priv_modulus *mod, o
fail = (FF_2048_comp(p_gt, p_proof, HFLEN_2048) != 0) || (FF_2048_comp(q_gt, q_proof, HFLEN_2048) != 0);
- if (fail);
+ if (fail)
{
// Clean memory
FF_2048_zero(p_gt, HFLEN_2048);