Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
orbea
Tor
Commits
8e84968f
Commit
8e84968f
authored
7 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Re-run trunnel.
parent
34e41220
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/trunnel/channelpadding_negotiation.c
+5
-5
5 additions, 5 deletions
src/trunnel/channelpadding_negotiation.c
src/trunnel/channelpadding_negotiation.h
+5
-5
5 additions, 5 deletions
src/trunnel/channelpadding_negotiation.h
src/trunnel/ed25519_cert.h
+0
-4
0 additions, 4 deletions
src/trunnel/ed25519_cert.h
with
10 additions
and
14 deletions
src/trunnel/channelpadding_negotiation.c
+
5
−
5
View file @
8e84968f
/* channelpadding_negotiation.c -- generated by Trunnel v1.
4.3
.
/* channelpadding_negotiation.c -- generated by Trunnel v1.
5.1
.
* https://gitweb.torproject.org/trunnel.git
* You probably shouldn't edit this file.
*/
...
...
@@ -57,7 +57,7 @@ channelpadding_negotiate_free(channelpadding_negotiate_t *obj)
}
uint8_t
channelpadding_negotiate_get_version
(
channelpadding_negotiate_t
*
inp
)
channelpadding_negotiate_get_version
(
const
channelpadding_negotiate_t
*
inp
)
{
return
inp
->
version
;
}
...
...
@@ -72,7 +72,7 @@ channelpadding_negotiate_set_version(channelpadding_negotiate_t *inp, uint8_t va
return
0
;
}
uint8_t
channelpadding_negotiate_get_command
(
channelpadding_negotiate_t
*
inp
)
channelpadding_negotiate_get_command
(
const
channelpadding_negotiate_t
*
inp
)
{
return
inp
->
command
;
}
...
...
@@ -87,7 +87,7 @@ channelpadding_negotiate_set_command(channelpadding_negotiate_t *inp, uint8_t va
return
0
;
}
uint16_t
channelpadding_negotiate_get_ito_low_ms
(
channelpadding_negotiate_t
*
inp
)
channelpadding_negotiate_get_ito_low_ms
(
const
channelpadding_negotiate_t
*
inp
)
{
return
inp
->
ito_low_ms
;
}
...
...
@@ -98,7 +98,7 @@ channelpadding_negotiate_set_ito_low_ms(channelpadding_negotiate_t *inp, uint16_
return
0
;
}
uint16_t
channelpadding_negotiate_get_ito_high_ms
(
channelpadding_negotiate_t
*
inp
)
channelpadding_negotiate_get_ito_high_ms
(
const
channelpadding_negotiate_t
*
inp
)
{
return
inp
->
ito_high_ms
;
}
...
...
This diff is collapsed.
Click to expand it.
src/trunnel/channelpadding_negotiation.h
+
5
−
5
View file @
8e84968f
/* channelpadding_negotiation.h -- generated by by Trunnel v1.
4.3
.
/* channelpadding_negotiation.h -- generated by by Trunnel v1.
5.1
.
* https://gitweb.torproject.org/trunnel.git
* You probably shouldn't edit this file.
*/
...
...
@@ -60,7 +60,7 @@ int channelpadding_negotiate_clear_errors(channelpadding_negotiate_t *obj);
/** Return the value of the version field of the
* channelpadding_negotiate_t in 'inp'
*/
uint8_t
channelpadding_negotiate_get_version
(
channelpadding_negotiate_t
*
inp
);
uint8_t
channelpadding_negotiate_get_version
(
const
channelpadding_negotiate_t
*
inp
);
/** Set the value of the version field of the
* channelpadding_negotiate_t in 'inp' to 'val'. Return 0 on success;
* return -1 and set the error code on 'inp' on failure.
...
...
@@ -69,7 +69,7 @@ int channelpadding_negotiate_set_version(channelpadding_negotiate_t *inp, uint8_
/** Return the value of the command field of the
* channelpadding_negotiate_t in 'inp'
*/
uint8_t
channelpadding_negotiate_get_command
(
channelpadding_negotiate_t
*
inp
);
uint8_t
channelpadding_negotiate_get_command
(
const
channelpadding_negotiate_t
*
inp
);
/** Set the value of the command field of the
* channelpadding_negotiate_t in 'inp' to 'val'. Return 0 on success;
* return -1 and set the error code on 'inp' on failure.
...
...
@@ -78,7 +78,7 @@ int channelpadding_negotiate_set_command(channelpadding_negotiate_t *inp, uint8_
/** Return the value of the ito_low_ms field of the
* channelpadding_negotiate_t in 'inp'
*/
uint16_t
channelpadding_negotiate_get_ito_low_ms
(
channelpadding_negotiate_t
*
inp
);
uint16_t
channelpadding_negotiate_get_ito_low_ms
(
const
channelpadding_negotiate_t
*
inp
);
/** Set the value of the ito_low_ms field of the
* channelpadding_negotiate_t in 'inp' to 'val'. Return 0 on success;
* return -1 and set the error code on 'inp' on failure.
...
...
@@ -87,7 +87,7 @@ int channelpadding_negotiate_set_ito_low_ms(channelpadding_negotiate_t *inp, uin
/** Return the value of the ito_high_ms field of the
* channelpadding_negotiate_t in 'inp'
*/
uint16_t
channelpadding_negotiate_get_ito_high_ms
(
channelpadding_negotiate_t
*
inp
);
uint16_t
channelpadding_negotiate_get_ito_high_ms
(
const
channelpadding_negotiate_t
*
inp
);
/** Set the value of the ito_high_ms field of the
* channelpadding_negotiate_t in 'inp' to 'val'. Return 0 on success;
* return -1 and set the error code on 'inp' on failure.
...
...
This diff is collapsed.
Click to expand it.
src/trunnel/ed25519_cert.h
+
0
−
4
View file @
8e84968f
...
...
@@ -59,10 +59,6 @@ struct link_specifier_st {
};
#endif
typedef
struct
link_specifier_st
link_specifier_t
;
/** XXX hs_link_specifier_dup() violates the opaqueness of link_specifier_t by
* taking its sizeof(). If we ever want to turn on TRUNNEL_OPAQUE we would
* need to refactor that function to do the coyp by encoding and decoding the
* object. */
#if !defined(TRUNNEL_OPAQUE) && !defined(TRUNNEL_OPAQUE_ED25519_CERT)
struct
ed25519_cert_st
{
uint8_t
version
;
...
...
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