- Whoops, too readable (i.e. wrong)
This commit is contained in:
parent
0a9c0fbfac
commit
fb2c0f1d7a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user