tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 6c652eae0a95cae095f5adad9cc51e1f1a183245
parent 51f59f213e3850d1d77f0e60355d914c6583aeb4
Author: teor <teor@torproject.org>
Date:   Wed, 20 Feb 2019 00:40:18 +1000

fixup! test_dir: Refactor common code out of the dir_format unit tests

Diffstat:
Msrc/test/test_dir.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/test_dir.c b/src/test/test_dir.c @@ -355,8 +355,9 @@ get_new_rsa_key_block(const char *key_name, crypto_pk_t *pk1) "%s\n%s", key_name, pk1_str); - tor_assert(block); + tor_free(pk1_str); + tor_assert(block); return block; }