Undefined name: make_key() -> make_rsa_key()

This commit is contained in:
Christian Clauss 2020-02-05 17:07:40 +02:00 committed by Nick Mathewson
parent 5d56c1f4b2
commit 9f7e1ccacb

View File

@ -256,8 +256,8 @@ class OnDemandKeys(object):
def signdesc(body, args_out=None): def signdesc(body, args_out=None):
rsa, ident_pem, id_digest = make_key() rsa, ident_pem, id_digest = make_rsa_key()
_, onion_pem, _ = make_key() _, onion_pem, _ = make_rsa_key()
need_ed = '{ED25519-CERT}' in body or '{ED25519-SIGNATURE}' in body need_ed = '{ED25519-CERT}' in body or '{ED25519-SIGNATURE}' in body
if need_ed: if need_ed: