[tor-commits] [tor/master] test_dir_handle_get: add ntor-onion-key to microdescriptor example

asn at torproject.org asn at torproject.org
Fri Oct 30 12:15:39 UTC 2020


commit 769882ea7c8e2dc622a149c2dc6fb7d34bf4641d
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Oct 16 09:32:34 2020 -0400

    test_dir_handle_get: add ntor-onion-key to microdescriptor example
    
    Shockingly, this test didn't break after this change!
---
 src/test/test_dir_handle_get.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c
index 31b44f8de0..53c81b8599 100644
--- a/src/test/test_dir_handle_get.c
+++ b/src/test/test_dir_handle_get.c
@@ -518,7 +518,8 @@ static const char microdesc[] =
   "MIGJAoGBAMjlHH/daN43cSVRaHBwgUfnszzAhg98EvivJ9Qxfv51mvQUxPjQ07es\n"
   "gV/3n8fyh3Kqr/ehi9jxkdgSRfSnmF7giaHL1SLZ29kA7KtST+pBvmTpDtHa3ykX\n"
   "Xorc7hJvIyTZoc1HU+5XSynj3gsBE5IGK1ZRzrNS688LnuZMVp1tAgMBAAE=\n"
-  "-----END RSA PUBLIC KEY-----\n";
+  "-----END RSA PUBLIC KEY-----\n"
+  "ntor-onion-key QlrOXAa8j3LD31LESsPm/lIKFBwevk2oXdqJcd9SEUc=\n";
 
 static void
 test_dir_handle_get_micro_d(void *data)





More information about the tor-commits mailing list