mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Fix two long lines
This commit is contained in:
parent
36b2b48308
commit
a873ba8edd
@ -2129,7 +2129,8 @@ router_build_fresh_descriptor(routerinfo_t **r, extrainfo_t **e)
|
|||||||
ei->cache_info.is_extrainfo = 1;
|
ei->cache_info.is_extrainfo = 1;
|
||||||
strlcpy(ei->nickname, get_options()->Nickname, sizeof(ei->nickname));
|
strlcpy(ei->nickname, get_options()->Nickname, sizeof(ei->nickname));
|
||||||
ei->cache_info.published_on = ri->cache_info.published_on;
|
ei->cache_info.published_on = ri->cache_info.published_on;
|
||||||
ei->cache_info.signing_key_cert = tor_cert_dup(get_master_signing_key_cert());
|
ei->cache_info.signing_key_cert =
|
||||||
|
tor_cert_dup(get_master_signing_key_cert());
|
||||||
|
|
||||||
memcpy(ei->cache_info.identity_digest, ri->cache_info.identity_digest,
|
memcpy(ei->cache_info.identity_digest, ri->cache_info.identity_digest,
|
||||||
DIGEST_LEN);
|
DIGEST_LEN);
|
||||||
@ -2197,8 +2198,9 @@ router_build_fresh_descriptor(routerinfo_t **r, extrainfo_t **e)
|
|||||||
ri->cache_info.signed_descriptor_digest);
|
ri->cache_info.signed_descriptor_digest);
|
||||||
|
|
||||||
if (ei) {
|
if (ei) {
|
||||||
tor_assert(! routerinfo_incompatible_with_extrainfo(ri->identity_pkey, ei,
|
tor_assert(!
|
||||||
&ri->cache_info, NULL));
|
routerinfo_incompatible_with_extrainfo(ri->identity_pkey, ei,
|
||||||
|
&ri->cache_info, NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
*r = ri;
|
*r = ri;
|
||||||
|
Loading…
Reference in New Issue
Block a user