- Whoops, too readable (i.e. wrong)

This commit is contained in:
ccremers 2005-08-19 15:25:35 +00:00
parent 0a9c0fbfac
commit fb2c0f1d7a

View File

@ -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)
def nonce (r,inrole):
global P