|
@@ -3402,7 +3402,8 @@ dirserv_single_reachability_test(time_t now, routerinfo_t *router)
|
|
tor_assert(node);
|
|
tor_assert(node);
|
|
|
|
|
|
if (options->AuthDirTestEd25519LinkKeys &&
|
|
if (options->AuthDirTestEd25519LinkKeys &&
|
|
- node_supports_ed25519_link_authentication(node, 1)) {
|
|
|
|
|
|
+ node_supports_ed25519_link_authentication(node, 1) &&
|
|
|
|
+ router->cache_info.signing_key_cert) {
|
|
ed_id_key = &router->cache_info.signing_key_cert->signing_key;
|
|
ed_id_key = &router->cache_info.signing_key_cert->signing_key;
|
|
} else {
|
|
} else {
|
|
ed_id_key = NULL;
|
|
ed_id_key = NULL;
|