[tor-commits] [tor/master] fix typo in comment
commit 987247bd76f1ca1ccffdee6348d240c876f78dfb Author: Roger Dingledine Date: Thu Mar 19 00:41:57 2020 -0400 fix typo in comment --- src/feature/hs/hs_cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/hs/hs_cell.c b/src/feature/hs/hs_cell.c index dd5fefd7e..fc9f4a265 100644 --- a/src/feature/hs/hs_cell.c +++ b/src/feature/hs/hs_cell.c @@ -758,7 +758,7 @@ hs_cell_parse_intro_established(const uint8_t *payload, size_t payload_len) * INTRO2 MAC to ensure that the keys are the right ones. * * Return NULL on failure to either produce the key material or on MAC - * valication. Else a newly allocated intro keys object. */ + * validation. Else return a newly allocated intro keys object. */ static hs_ntor_intro_cell_keys_t * get_introduce2_keys_and_verify_mac(hs_cell_introduce2_data_t *data, const uint8_t *encrypted_section, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit e1429d91480ee16ebe32be35263a4695e1795ff9 Author: Roger Dingledine Date: Mon Sep 23 18:32:05 2019 -0400 fix typo in comment --- src/feature/rend/rendservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/rend/rendservice.c b/src/feature/rend/rendservice.c index 119a6f9c8..4d8a21e6a 100644 --- a/src/feature/rend/rendservice.c +++ b/src/feature/rend/rendservice.c @@ -2127,7 +2127,7 @@ rend_service_receive_introduction(origin_circuit_t *circuit, * * We only use a one-hop path on the first attempt. If the first attempt * fails, we use a 3-hop path for reachability / reliability. - * See the comment in rend_service_relauch_rendezvous() for details. */ + * See the comment in rend_service_relaunch_rendezvous() for details. */ if (rend_service_use_direct_connection(options, rp) && i == 0) { flags = flags | CIRCLAUNCH_ONEHOP_TUNNEL; } ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment about FallbackDir handling
commit 9cfc811c377be8e30532b6faef78e3c97f0ae7e8 Author: Nick Mathewson Date: Mon Aug 26 19:20:16 2019 -0400 Fix typo in comment about FallbackDir handling --- src/app/config/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/config/config.c b/src/app/config/config.c index bff403a99..66047aeab 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -8154,7 +8154,7 @@ getinfo_helper_config(control_connection_t *conn, } if (strcmp(var->member.name, "FallbackDir") == 0) { /* - * Similarly count fallback lines, so that we can decided later + * Similarly count fallback lines, so that we can decide later * to add the defaults manually. */ ++fallback_lines_seen; ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment for hs_cell_parse_introduce2()
commit f93ee8e4c49f1274119300bb4983348341109141 Author: Neel Chauhan Date: Tue Oct 16 10:59:42 2018 -0400 Fix typo in comment for hs_cell_parse_introduce2() --- src/feature/hs/hs_cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/hs/hs_cell.c b/src/feature/hs/hs_cell.c index c6ca6746b..9bbae6d32 100644 --- a/src/feature/hs/hs_cell.c +++ b/src/feature/hs/hs_cell.c @@ -620,7 +620,7 @@ hs_cell_parse_intro_established(const uint8_t *payload, size_t payload_len) return ret; } -/* Parsse the INTRODUCE2 cell using data which contains everything we need to +/* Parse the INTRODUCE2 cell using data which contains everything we need to * do so and contains the destination buffers of information we extract and * compute from the cell. Return 0 on success else a negative value. The * service and circ are only used for logging purposes. */ ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment for getinfo_helper_current_time()
commit aab6aea1973c50e62b2269773fc262ad69f174fd Author: Neel Chauhan Date: Mon Aug 20 11:49:35 2018 -0400 Fix typo in comment for getinfo_helper_current_time() --- src/feature/control/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/control/control.c b/src/feature/control/control.c index da4b48fab..f71818241 100644 --- a/src/feature/control/control.c +++ b/src/feature/control/control.c @@ -2056,7 +2056,7 @@ getinfo_helper_listeners(control_connection_t *control_conn, } /** Implementation helper for GETINFO: answers requests for information about - * the current time in both local and UTF forms. */ + * the current time in both local and UTC forms. */ STATIC int getinfo_helper_current_time(control_connection_t *control_conn, const char *question, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit 2032b9b1b1385932f3f6bd731bb1c0b4f8dcee48 Author: Roger DingledineDate: Mon Aug 7 00:22:27 2017 -0400 fix typo in comment --- src/common/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/compat.c b/src/common/compat.c index f5991a640..836b3813e 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -2619,7 +2619,7 @@ tor_inet_pton(int af, const char *src, void *dst) long r = strtol(src, , 16); if (next == NULL || next == src) { /* The 'next == src' error case can happen on versions of openbsd - * where treats "0xfoo" as an error, rather than as "0" followed by + * which treat "0xfoo" as an error, rather than as "0" followed by * "xfoo". */ return 0; } ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit a18b41cc776196c41cf79bdab25592a7ce8bbcc5 Author: Roger DingledineDate: Fri May 19 22:14:56 2017 -0400 fix typo in comment --- src/or/entrynodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 7a27cd0..51fda60 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -67,7 +67,7 @@ * * While we're building circuits, we track a little "guard state" for * each circuit. We use this to keep track of whether the circuit is - * one that we can use as soon as its done, or whether it's one that + * one that we can use as soon as it's done, or whether it's one that * we should keep around to see if we can do better. In the latter case, * a periodic call to entry_guards_upgrade_waiting_circuits() will * eventually upgrade it. ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit 1103d8249253889a270bc0891d1cad9647da65dd Author: Roger DingledineDate: Tue Mar 29 10:56:26 2016 -0400 fix typo in comment --- src/or/onion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/onion.c b/src/or/onion.c index d6ef367..4bed7ae 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -527,7 +527,7 @@ onion_skin_server_handshake(int type, * rend_authenticator_out to the "KH" field that can be used to * establish introduction points at this hop, and return 0. On failure, * return -1, and set *msg_out to an error message if this is worth - * complaining to the usre about. */ + * complaining to the user about. */ int onion_skin_client_handshake(int type, const onion_handshake_state_t *handshake_state, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment on crypto_add_spaces_to_fp
commit 84d1373ba075febd5c362701a4dfee66ca9a5c19 Author: teor (Tim Wilson-Brown)Date: Mon Nov 23 18:59:11 2015 +1100 Fix typo in comment on crypto_add_spaces_to_fp --- src/common/crypto.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/crypto.c b/src/common/crypto.c index f5f9bbe..80345d4 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1332,7 +1332,7 @@ crypto_pk_get_all_digests(crypto_pk_t *pk, digests_t *digests_out) } /** Copy in to the outlen-byte buffer out, adding spaces - * every four spaces. */ + * every four characters. */ void crypto_add_spaces_to_fp(char *out, size_t outlen, const char *in) { ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment about digest256map_t
commit c265621a525f23f5e208f5ca0c7211bd6c7483ce Author: David Goulet dgou...@ev0ke.net Date: Thu Jun 25 16:19:25 2015 -0400 Fix typo in comment about digest256map_t Signed-off-by: David Goulet dgou...@ev0ke.net --- src/common/container.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/container.h b/src/common/container.h index 125900c..2a6ba01 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -361,7 +361,7 @@ char *smartlist_join_strings2(smartlist_t *sl, const char *join, DECLARE_MAP_FNS(strmap_t, const char *, strmap_); /* Map from const char[DIGEST_LEN] to void *. Implemented with a hash table. */ DECLARE_MAP_FNS(digestmap_t, const char *, digestmap_); -/* Map from const uint8_t[DIGEST_LEN] to void *. Implemented with a hash +/* Map from const uint8_t[DIGEST256_LEN] to void *. Implemented with a hash * table. */ DECLARE_MAP_FNS(digest256map_t, const uint8_t *, digest256map_); ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit a1bdb6e42cea6b2a7b6f5dfb937752f9fd997599 Author: Roger Dingledine a...@torproject.org Date: Tue Mar 3 19:12:27 2015 -0500 fix typo in comment --- src/or/connection.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/connection.c b/src/or/connection.c index 7db0238..dcf716f 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -3774,7 +3774,7 @@ connection_fetch_from_buf_line(connection_t *conn, char *data, } } -/** As fetch_from_buf_http, but fetches from a conncetion's input buffer_t or +/** As fetch_from_buf_http, but fetches from a connection's input buffer_t or * its bufferevent as appropriate. */ int connection_fetch_from_buf_http(connection_t *conn, ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] fix typo in comment
commit d6b2a1709d28c656dadc019fb24145e6ac400771 Author: Roger Dingledine a...@torproject.org Date: Sat Sep 13 17:10:04 2014 -0400 fix typo in comment --- src/or/rendservice.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 749d6fa..31b612b 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1754,7 +1754,7 @@ rend_service_parse_intro_for_v2( /* * We accept version 3 too so that the v3 parser can call this with - * and adjusted buffer for the latter part of a v3 cell, which is + * an adjusted buffer for the latter part of a v3 cell, which is * identical to a v2 cell. */ if (!(intro-version == 2 || ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits
[tor-commits] [tor/master] Fix typo in comment
commit 4686638743919513baa72001d4676996f5e53c14 Author: Andrea Shepard and...@torproject.org Date: Mon Oct 8 20:15:09 2012 -0700 Fix typo in comment --- src/or/channel.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/or/channel.h b/src/or/channel.h index 182639e..8fb29d8 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -12,7 +12,7 @@ #include or.h /* - * Channel struct; see thw channel_t typedef in or.h. A channel is an + * Channel struct; see the channel_t typedef in or.h. A channel is an * abstract interface for the OR-to-OR connection, similar to connection_or_t, * but without the strong coupling to the underlying TLS implementation. They * are constructed by calling a protocol-specific function to open a channel ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits