[tor-commits] [tor/master] Undefined name: make_key() -> make_rsa_key()
nickm at torproject.org
nickm at torproject.org
Tue Feb 11 13:35:29 UTC 2020
commit 9f7e1ccacba73cd7d94cdd1d6a003c3d1d4f9e67
Author: Christian Clauss <cclauss at me.com>
Date: Wed Feb 5 17:07:40 2020 +0200
Undefined name: make_key() -> make_rsa_key()
---
scripts/codegen/makedesc.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/codegen/makedesc.py b/scripts/codegen/makedesc.py
index ccdbae070..af926a643 100644
--- a/scripts/codegen/makedesc.py
+++ b/scripts/codegen/makedesc.py
@@ -256,8 +256,8 @@ class OnDemandKeys(object):
def signdesc(body, args_out=None):
- rsa, ident_pem, id_digest = make_key()
- _, onion_pem, _ = make_key()
+ rsa, ident_pem, id_digest = make_rsa_key()
+ _, onion_pem, _ = make_rsa_key()
need_ed = '{ED25519-CERT}' in body or '{ED25519-SIGNATURE}' in body
if need_ed:
More information about the tor-commits
mailing list