diff --git a/python/primihub/MPC/util.py b/python/primihub/MPC/util.py index 0185ebd1..8b337ee1 100644 --- a/python/primihub/MPC/util.py +++ b/python/primihub/MPC/util.py @@ -2,5 +2,10 @@ from primihub.context import Context def stop_auxiliary_party(): - mpc_executor = ph_slib.MPCExecutor(Context.message, "ABY3", "", "", "") + cert_config = Context.cert_config + root_ca_path = cert_config.get("root_ca_path", "") + key_path = cert_config.get("key_path", "") + cert_path = cert_config.get("cert_path", "") + mpc_executor = ph_slib.MPCExecutor(Context.message, "ABY3", + root_ca_path, key_path, cert_path) mpc_executor.stop_task() \ No newline at end of file