diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-09-14 16:31:48 -0400 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2022-02-22 19:28:33 +0000 |
commit | baaabb503c9c9fc81e0d95b2d5baeefef7423b7a (patch) | |
tree | 3ca1259e597855b96b53a73f8690b18edbc737dc /src/feature/relay/selftest.c | |
parent | bd2e9a44097ff85934bc1c34f4fce2017a7a92c8 (diff) | |
download | tor-baaabb503c9c9fc81e0d95b2d5baeefef7423b7a.tar.gz tor-baaabb503c9c9fc81e0d95b2d5baeefef7423b7a.zip |
Use protover to signal support for ntor3 + congestion control.
Diffstat (limited to 'src/feature/relay/selftest.c')
-rw-r--r-- | src/feature/relay/selftest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c index d029c05053..d52fea3c11 100644 --- a/src/feature/relay/selftest.c +++ b/src/feature/relay/selftest.c @@ -228,7 +228,8 @@ extend_info_from_router(const routerinfo_t *r, int family) info = extend_info_new(r->nickname, r->cache_info.identity_digest, ed_id_key, rsa_pubkey, r->onion_curve25519_pkey, - &ap.addr, ap.port); + &ap.addr, ap.port, + NULL /* should self-tests use ntor3? */); crypto_pk_free(rsa_pubkey); return info; } |