mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
function name collision
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user