- 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): def role (r,inrole):
global P global P
if not variablerole(r, inrole): return "r%i" % (r % P)
# 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): def nonce (r,inrole):
global P global P