mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 14:54:24 -04:00
function name collision
This commit is contained in:
parent
ac0defac00
commit
62c2f5fa49
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ else:
|
|||
|
||||
cert_file = "cert.pem" # we should use getopt to set all of these
|
||||
|
||||
def sign(key, data):
|
||||
def rsa_sign(key, data):
|
||||
"""
|
||||
Sign this data with this private key. For client-side use.
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ def make_request(m, csr):
|
|||
m.request.clientpuzzle = hashcash.mint(server, difficulty)
|
||||
|
||||
def sign(key, m):
|
||||
m.request.sig = sign(key, ("(%d) (%s) (%s)" % (m.request.timestamp, m.request.recipient, m.request.csr)))
|
||||
m.request.sig = rsa_sign(key, ("(%d) (%s) (%s)" % (m.request.timestamp, m.request.recipient, m.request.csr)))
|
||||
|
||||
k=chocolatemessage()
|
||||
m=chocolatemessage()
|
||||
|
|
|
|||
Loading…
Reference in a new issue