viff

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 diff
     1.1 --- a/viff/test/test_orlandi_runtime.py	Tue Feb 02 17:09:19 2010 +0100
     1.2 +++ b/viff/test/test_orlandi_runtime.py	Tue Feb 02 17:21:20 2010 +0100
     1.3 @@ -22,11 +22,13 @@
     1.4  from viff.paillierutil import NaClPaillier
     1.5  from viff.config import generate_configs
     1.6  
     1.7 +pypaillier = None
     1.8  try:
     1.9      import commitment  
    1.10      try:
    1.11          from pypaillier import encrypt_r, decrypt, tripple_2c, tripple_3a
    1.12          from viff.orlandi import OrlandiRuntime, OrlandiShare
    1.13 +        pypaillier = "Imported"
    1.14      except ImportError:
    1.15          pypaillier = None
    1.16          OrlandiRuntime = None