1
0
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:
Seth Schoen
2012-07-16 15:13:06 -07:00
parent ac0defac00
commit 62c2f5fa49

View File

@@ -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()