viff

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 diff
     1.1 --- a/apps/aes.py	Thu Sep 17 17:38:23 2009 +0200
     1.2 +++ b/apps/aes.py	Thu Sep 17 17:59:08 2009 +0200
     1.3 @@ -158,6 +158,8 @@
     1.4              return rt
     1.5          preproc.addCallback(fin)
     1.6          rt.schedule_complex_callback(preproc, share_key)
     1.7 +    else:
     1.8 +        share_key(rt)
     1.9  
    1.10  if options.active:
    1.11      from viff.active import ActiveRuntime