diff options
author | Deepesh Pathak <deepshpathak@gmail.com> | 2018-01-24 14:25:15 +0530 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-07 10:41:57 -0500 |
commit | ca6682f3f86dbcf2b5346ae69d45293e8a59322b (patch) | |
tree | 54502f2a67b49927e85c51baf6fa0805c24b3839 /src/test/test_channelpadding.c | |
parent | 13f5adc86c30101a32fedcd1713443eb4c43a397 (diff) | |
download | tor-ca6682f3f86dbcf2b5346ae69d45293e8a59322b.tar.gz tor-ca6682f3f86dbcf2b5346ae69d45293e8a59322b.zip |
Fix spelling mistakes corresponding to ticket #23650
Diffstat (limited to 'src/test/test_channelpadding.c')
-rw-r--r-- | src/test/test_channelpadding.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c index 4cc33cbe70..9e570b81a7 100644 --- a/src/test/test_channelpadding.c +++ b/src/test/test_channelpadding.c @@ -457,7 +457,7 @@ test_channelpadding_killonehop(void *arg) tt_assert(relay3_client->padding_enabled); tt_assert(client_relay3->padding_enabled); get_options_mutable()->Tor2webMode = 1; - /* For the relay to recieve the negotiate: */ + /* For the relay to receive the negotiate: */ get_options_mutable()->ORPort_set = 1; decision = channelpadding_decide_to_pad_channel(client_relay3); tt_int_op(decision, OP_EQ, CHANNELPADDING_WONTPAD); @@ -530,7 +530,7 @@ test_channelpadding_killonehop(void *arg) // Test client side (it should stop immediately) get_options_mutable()->HiddenServiceSingleHopMode = 1; get_options_mutable()->HiddenServiceNonAnonymousMode = 1; - /* For the relay to recieve the negotiate: */ + /* For the relay to receive the negotiate: */ get_options_mutable()->ORPort_set = 1; decision = channelpadding_decide_to_pad_channel(client_relay3); tt_int_op(decision, OP_EQ, CHANNELPADDING_WONTPAD); @@ -835,7 +835,7 @@ test_channelpadding_negotiation(void *arg) get_options_mutable()->ORPort_set = 0; /* Test case #2: Torrc options */ - /* ConnectionPadding auto; Relay doesn't suport us */ + /* ConnectionPadding auto; Relay doesn't support us */ ((channel_tls_t*)relay3_client)->conn->link_proto = 4; relay3_client->padding_enabled = 0; tried_to_write_cell = 0; @@ -846,7 +846,7 @@ test_channelpadding_negotiation(void *arg) ((channel_tls_t*)relay3_client)->conn->link_proto = 5; relay3_client->padding_enabled = 1; - /* ConnectionPadding 1; Relay doesn't suport us */ + /* ConnectionPadding 1; Relay doesn't support us */ get_options_mutable()->ConnectionPadding = 1; tried_to_write_cell = 0; decision = channelpadding_decide_to_pad_channel(client_relay3); |