diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-16 12:58:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-16 12:59:51 -0400 |
commit | 4b24b3628926e864220d59b9d1b8c0dd45a1d52b (patch) | |
tree | e887146c91b92add45153b892431c608de9bf857 /src | |
parent | f6fc062119231a2f5cda1e841a14a3f912595532 (diff) | |
download | tor-4b24b3628926e864220d59b9d1b8c0dd45a1d52b.tar.gz tor-4b24b3628926e864220d59b9d1b8c0dd45a1d52b.zip |
Remove unneeded generate_ed_link_cert() in tests.
This fixes CID 1465291, which was a complaint that we never actually
checked the return value of this function. It turns out that this
function was failing, and it didn't matter, because it wasn't
necessary for this test.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_routerkeys.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test_routerkeys.c b/src/test/test_routerkeys.c index bafc886bc6..8d653e44a2 100644 --- a/src/test/test_routerkeys.c +++ b/src/test/test_routerkeys.c @@ -111,7 +111,6 @@ test_routerkeys_write_ed25519_identity(void *arg) set_client_identity_key(crypto_pk_dup_key(key)); load_ed_keys(options, now); - generate_ed_link_cert(options, now, 0); tt_assert(get_master_identity_key()); tt_int_op(0, OP_EQ, check_private_dir(ddir, CPD_CREATE, NULL)); |