aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-02-05 17:07:40 +0200
committerNick Mathewson <nickm@torproject.org>2020-02-11 08:35:11 -0500
commit9f7e1ccacba73cd7d94cdd1d6a003c3d1d4f9e67 (patch)
tree873d40b10ec112d4b72eeb049acae600821b5eb8 /scripts
parent5d56c1f4b29c79d17002872c70e6bb2d561cd2ba (diff)
downloadtor-9f7e1ccacba73cd7d94cdd1d6a003c3d1d4f9e67.tar.gz
tor-9f7e1ccacba73cd7d94cdd1d6a003c3d1d4f9e67.zip
Undefined name: make_key() -> make_rsa_key()
Diffstat (limited to 'scripts')
-rw-r--r--scripts/codegen/makedesc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/codegen/makedesc.py b/scripts/codegen/makedesc.py
index ccdbae070b..af926a6438 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: