viff

changeset 1367:59b9e1161c2c

Generate_config_files: Reorder if statement.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Thu, 29 Oct 2009 10:52:13 +0100
parents fd9867d4dc8c
children 4306568ab9c6
files apps/generate-config-files.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/apps/generate-config-files.py	Thu Oct 29 10:51:46 2009 +0100
     1.2 +++ b/apps/generate-config-files.py	Thu Oct 29 10:52:13 2009 +0100
     1.3 @@ -90,9 +90,10 @@
     1.4  
     1.5  (options, args) = parser.parse_args()
     1.6  
     1.7 -paillier = ViffPaillier(options.keysize)
     1.8  if "nacl" == options.paillier:
     1.9      paillier = NaClPaillier(options.keysize)
    1.10 +else:
    1.11 +    paillier = ViffPaillier(options.keysize)
    1.12  
    1.13  if len(args) != options.n:
    1.14      parser.error("must supply a hostname:port argument for each player")