viff

changeset 1119:622604a6d772

Make keysize an optional argument. The test suite was broken since it didn't pass this argument, this unbreaks it again and is backwards compatible for other callers.
author Martin Geisler <mg@daimi.au.dk>
date Tue, 10 Mar 2009 09:39:18 +0100
parents 88d6a083a513
children 202631c58686
files viff/config.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/viff/config.py	Tue Mar 10 08:59:38 2009 +0100
     1.2 +++ b/viff/config.py	Tue Mar 10 09:39:18 2009 +0100
     1.3 @@ -152,7 +152,7 @@
     1.4      return owner_id, players
     1.5  
     1.6  
     1.7 -def generate_configs(n, t, keysize, addresses=None, prefix=None, skip_prss=False):
     1.8 +def generate_configs(n, t, keysize=1024, addresses=None, prefix=None, skip_prss=False):
     1.9      """Generate player configurations.
    1.10  
    1.11      Generates *n* configuration objects with a threshold of *t*. The