diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2022-02-23 00:42:31 +0000 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2022-02-23 00:42:31 +0000 |
commit | 2d0377be75b158dde3a91b55d248fee4fe381452 (patch) | |
tree | 820a8cd96a80c906b904160ef4be40051ad52562 /src/test | |
parent | 77bf932c83a1a8b1cf627a66656f40dea715d75e (diff) | |
download | tor-2d0377be75b158dde3a91b55d248fee4fe381452.tar.gz tor-2d0377be75b158dde3a91b55d248fee4fe381452.zip |
Reject intro2 cells that request unadvertized congestion control.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_hs_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 33a3f279c6..482ee1a014 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -2330,6 +2330,7 @@ test_intro2_handling(void *arg) intro_circ->cpath->prev = intro_circ->cpath; intro_circ->hs_ident = tor_malloc_zero(sizeof(*intro_circ->hs_ident)); origin_circuit_t rend_circ; + TO_CIRCUIT(&rend_circ)->ccontrol = NULL; rend_circ.hs_ident = tor_malloc_zero(sizeof(*rend_circ.hs_ident)); curve25519_keypair_generate(&rend_circ.hs_ident->rendezvous_client_kp, 0); memset(rend_circ.hs_ident->rendezvous_cookie, 'r', HS_REND_COOKIE_LEN); |