1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

don't SHA256 twice!

This commit is contained in:
Seth Schoen
2012-07-13 18:57:10 -07:00
parent 9930ae8875
commit 7b615c295e

View File

@@ -36,7 +36,7 @@ def make_request(m):
m.request.sig = "BAR"
def sign(k, m):
m.request.sig = CSR.sign(k, sha256("(%d) (%s) (%s)" % (m.request.timestamp, m.request.recipient, m.request.csr)))
m.request.sig = CSR.sign(k, ("(%d) (%s) (%s)" % (m.request.timestamp, m.request.recipient, m.request.csr)))
k=chocolatemessage()
m=chocolatemessage()