Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
0fd8f578
Commit
0fd8f578
authored
11 years ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
fix typos
parent
223c7da0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/or/onion.c
+2
-2
2 additions, 2 deletions
src/or/onion.c
src/or/onion_fast.c
+1
-1
1 addition, 1 deletion
src/or/onion_fast.c
with
3 additions
and
3 deletions
src/or/onion.c
+
2
−
2
View file @
0fd8f578
...
...
@@ -50,7 +50,7 @@ static void onion_queue_entry_remove(onion_queue_t *victim);
* MAX_ONIONSKIN_CHALLENGE/REPLY_LEN." Also, make sure that we can pass
* over-large values via EXTEND2/EXTENDED2, for future-compatibility.*/
/** Return true iff we have room to queue another oni
n
oskin of type
/** Return true iff we have room to queue another onio
n
skin of type
* <b>type</b>. */
static
int
have_room_for_onionskin
(
uint16_t
type
)
...
...
@@ -727,7 +727,7 @@ extend_cell_parse(extend_cell_t *cell_out, const uint8_t command,
cell_out
->
cell_type
=
RELAY_COMMAND_EXTEND2
;
++
payload
;
/* Parse the specifiers. We'll only take the first IPv4 and first IPv6
* addres, and the node ID, and ignore everything else */
* addres
s
, and the node ID, and ignore everything else */
for
(
i
=
0
;
i
<
n_specs
;
++
i
)
{
if
(
eop
-
payload
<
2
)
return
-
1
;
...
...
This diff is collapsed.
Click to expand it.
src/or/onion_fast.c
+
1
−
1
View file @
0fd8f578
...
...
@@ -22,7 +22,7 @@ fast_handshake_state_free(fast_handshake_state_t *victim)
tor_free
(
victim
);
}
/** Create the state needed to perform a CREATE_FAST ha
s
nshake. Return 0
/** Create the state needed to perform a CREATE_FAST han
d
shake. Return 0
* on success, -1 on failure. */
int
fast_onionskin_create
(
fast_handshake_state_t
**
handshake_state_out
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment