changeset 1303:deb7659465d2

Change security parameter for leak mul test.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Mon, 19 Oct 2009 11:48:08 +0200
parents 7fd61e465bc6
children 0c57d87411b9
files viff/test/test_orlandi_runtime.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/viff/test/test_orlandi_runtime.py	Mon Oct 19 11:03:18 2009 +0200
+++ b/viff/test/test_orlandi_runtime.py	Mon Oct 19 11:48:08 2009 +0200
@@ -264,7 +264,7 @@
 
     runtime_class = OrlandiRuntime
 
-    timeout = 800
+    timeout = 60
 
     @protocol
     def test_shift(self, runtime):
@@ -551,7 +551,9 @@
         x1 = 42
         y1 = 7
 
-        runtime.d = 2
+        runtime.s = 1
+        runtime.d = 0
+        runtime.s_lambda = 1
 
         def check(v):
             self.assertEquals(v, x1 * y1)