]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Undefined name: make_key() -> make_rsa_key()
authorChristian Clauss <cclauss@me.com>
Wed, 5 Feb 2020 15:07:40 +0000 (17:07 +0200)
committerNick Mathewson <nickm@torproject.org>
Tue, 11 Feb 2020 13:35:11 +0000 (08:35 -0500)
scripts/codegen/makedesc.py

index ccdbae070bc5e380dc47386b891c5391a2fecf14..af926a64389ee2113fff550c8dc98226a9243796 100644 (file)
@@ -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: