From fb2c0f1d7a8a1350418128e9fe70d643ed3bd70d Mon Sep 17 00:00:00 2001 From: ccremers Date: Fri, 19 Aug 2005 15:25:35 +0000 Subject: [PATCH] - Whoops, too readable (i.e. wrong) --- spdl/multiparty/multinsl-generator.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/spdl/multiparty/multinsl-generator.py b/spdl/multiparty/multinsl-generator.py index 8b91c53..e6d55c9 100755 --- a/spdl/multiparty/multinsl-generator.py +++ b/spdl/multiparty/multinsl-generator.py @@ -29,12 +29,7 @@ def variablerole (r, inrole): def role (r,inrole): global P - if not variablerole(r, inrole): - # our own role or any role from the initiator - return "r%i" % (r % P) - else: - # possibly a variable (input) role - return "R%i" % (r % P) + return "r%i" % (r % P) def nonce (r,inrole): global P