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/03/16 14:29:54 UTC

[incubator-milagro-MPC] 02/02: Fix paillier sk dump

This is an automated email from the ASF dual-hosted git repository.

sandreoli pushed a commit to branch issue18-add-python-flow-example
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git

commit 722e0c8d6e34a1e02c945e5cb5604690491a3af0
Author: Samuele Andreoli <sa...@yahoo.it>
AuthorDate: Mon Mar 16 14:29:27 2020 +0000

    Fix paillier sk dump
---
 python/amcl/mpc.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/python/amcl/mpc.py b/python/amcl/mpc.py
index 016d1c3..4714442 100644
--- a/python/amcl/mpc.py
+++ b/python/amcl/mpc.py
@@ -729,7 +729,5 @@ def mpc_dump_paillier_sk(paillier_sk):
     # Clear memory
     core_utils.clear_octet(p)
     core_utils.clear_octet(q)
-    core_utils.clear_octet(p2)
-    core_utils.clear_octet(q2)
 
     return p2, q2