[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Undefined name: make_key() -> make_rsa_key()



commit 9f7e1ccacba73cd7d94cdd1d6a003c3d1d4f9e67
Author: Christian Clauss <cclauss@xxxxxx>
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:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits