aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrinity-1686a <trinity@deuxfleurs.fr>2023-10-13 00:02:07 +0200
committerDavid Goulet <dgoulet@torproject.org>2023-10-18 13:06:10 -0400
commit0cf4966acf7332608f6d3dda645b48594f4795fc (patch)
tree24ce578e4ed7affbd9b9122633dbfca0a218f32b /src
parent3970ee6a07035c6028edd890b5d28bb7a71e0833 (diff)
downloadtor-0cf4966acf7332608f6d3dda645b48594f4795fc.tar.gz
tor-0cf4966acf7332608f6d3dda645b48594f4795fc.zip
fix typos
Diffstat (limited to 'src')
-rw-r--r--src/core/or/dos.h2
-rw-r--r--src/feature/hs/hs_service.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/dos.h b/src/core/or/dos.h
index 9581d9f233..03606287d1 100644
--- a/src/core/or/dos.h
+++ b/src/core/or/dos.h
@@ -182,7 +182,7 @@ typedef enum dos_stream_defense_type_t {
/* Close the circuit */
DOS_STREAM_DEFENSE_CLOSE_CIRCUIT = 3,
- /* Maimum value that can be used. Useful for the boundaries of the
+ /* Maximum value that can be used. Useful for the boundaries of the
* consensus parameter. */
DOS_STREAM_DEFENSE_MAX = 3,
} dos_stream_defense_type_t;
diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h
index 36d67719ca..b3a4117461 100644
--- a/src/feature/hs/hs_service.h
+++ b/src/feature/hs/hs_service.h
@@ -113,7 +113,7 @@ typedef struct hs_service_intropoints_t {
digest256map_t *map;
/** Contains node's identity key digest that were introduction point for this
- * descriptor but were retried to many times. We keep those so we avoid
+ * descriptor but were retried too many times. We keep those so we avoid
* re-picking them over and over for a circuit retry period.
* XXX: Once we have #22173, change this to only use ed25519 identity. */
digestmap_t *failed_id;