viff

changeset 1151:56f0b5a1b41e

Removed unnecessary cache updates.
author Martin Geisler <mg@daimi.au.dk>
date Fri, 27 Mar 2009 15:28:23 +0100
parents 3ed76dce61d6
children 295772b6b49a
files viff/config.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/viff/config.py	Fri Mar 27 14:18:47 2009 +0100
     1.2 +++ b/viff/config.py	Fri Mar 27 15:28:23 2009 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# Copyright 2007, 2008 VIFF Development Team.
     1.5 +# Copyright 2007, 2008, 2009 VIFF Development Team.
     1.6  #
     1.7  # This file is part of VIFF, the Virtual Ideal Functionality Framework.
     1.8  #
     1.9 @@ -88,8 +88,8 @@
    1.10                  prfs = {}
    1.11                  for subset, key in keys.iteritems():
    1.12                      prfs[subset] = PRF(key, modulus)
    1.13 -                    dealers[dealer] = prfs
    1.14 -                    self.dealers_cache[modulus] = dealers
    1.15 +                dealers[dealer] = prfs
    1.16 +            self.dealers_cache[modulus] = dealers
    1.17          return dealers
    1.18  
    1.19      def __repr__(self):