changeset 1260:824ae3770456

Increment the program counter for synchronizing.
author Marcel Keller <mkeller@cs.au.dk>
date Wed, 07 Oct 2009 15:23:12 +0200
parents 547e9bc99d12
children ed2d02202af0
files viff/runtime.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/viff/runtime.py	Wed Sep 30 14:34:49 2009 +0200
+++ b/viff/runtime.py	Wed Oct 07 15:23:12 2009 +0200
@@ -680,6 +680,7 @@
         adding callbacks to the returned :class:`Deferred`, one can
         divide a protocol execution into disjoint phases.
         """
+        self.increment_pc()
         shares = [self._exchange_shares(player, GF256(0))
                   for player in self.players]
         result = gather_shares(shares)