changeset 1249:0f35ae3f503b

Don't get stuck if preprocessing demanded but not available.
author Marcel Keller <mkeller@cs.au.dk>
date Thu, 17 Sep 2009 17:59:08 +0200
parents 5ffc93111d70
children 77f74e53f796 2fc11d4132c5 d41aca4d7b6e
files apps/aes.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/apps/aes.py	Thu Sep 17 17:38:23 2009 +0200
+++ b/apps/aes.py	Thu Sep 17 17:59:08 2009 +0200
@@ -158,6 +158,8 @@
             return rt
         preproc.addCallback(fin)
         rt.schedule_complex_callback(preproc, share_key)
+    else:
+        share_key(rt)
 
 if options.active:
     from viff.active import ActiveRuntime