Skip to content
Snippets Groups Projects
Commit a0f8c010 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge branch 'maint-0.3.2'

parents 4af1653e e598c6f6
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes (hidden service):
- Make sure that we have a usable ed25519 key when the intro point relay
does support ed25519 link authentication. We do check for an empty key
when the relay does not support it so this makes it nice and symmetric.
Fixes bug 24002; bugfix on 0.3.2.1-alpha.
......@@ -1564,6 +1564,10 @@ pick_intro_point(unsigned int direct_conn, smartlist_t *exclude_nodes)
* protocol */
if (!node_supports_ed25519_link_authentication(node)) {
tor_assert_nonfatal(ed25519_public_key_is_zero(&info->ed_identity));
} else {
/* Make sure we *do* have an ed key if we support the link authentication.
* Sending an empty key would result in a failure to extend. */
tor_assert_nonfatal(!ed25519_public_key_is_zero(&info->ed_identity));
}
/* Create our objects and populate them with the node information. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment