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.
This commit is contained in:
Nick Mathewson 2020-07-16 12:58:40 -04:00
parent f6fc062119
commit 4b24b36289

View file

@ -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));