changeset 1432:da995056d761

test_orlandi: Fixed bug.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Tue, 02 Feb 2010 17:21:20 +0100
parents 4efa3caf521e
children e0936c19605e
files viff/test/test_orlandi_runtime.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/viff/test/test_orlandi_runtime.py	Tue Feb 02 17:09:19 2010 +0100
+++ b/viff/test/test_orlandi_runtime.py	Tue Feb 02 17:21:20 2010 +0100
@@ -22,11 +22,13 @@
 from viff.paillierutil import NaClPaillier
 from viff.config import generate_configs
 
+pypaillier = None
 try:
     import commitment  
     try:
         from pypaillier import encrypt_r, decrypt, tripple_2c, tripple_3a
         from viff.orlandi import OrlandiRuntime, OrlandiShare
+        pypaillier = "Imported"
     except ImportError:
         pypaillier = None
         OrlandiRuntime = None