Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nick Mathewson
Tor
Commits
f96b6cce
Commit
f96b6cce
authored
May 04, 2020
by
Nick Mathewson
👉
Browse files
Merge branch 'maint-0.4.3'
parents
6dc9930d
e6186741
Changes
3
Hide whitespace changes
Inline
Side-by-side
changes/bug34077
0 → 100644
View file @
f96b6cce
o Minor bugfixes (compiler warnings):
- Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix on
0.4.0.3-alpha.
src/feature/dirauth/shared_random_state.c
View file @
f96b6cce
...
...
@@ -1041,8 +1041,9 @@ sr_state_set_valid_after(time_t valid_after)
sr_phase_t
sr_state_get_phase
(
void
)
{
void
*
ptr
;
void
*
ptr
=
NULL
;
state_query
(
SR_STATE_ACTION_GET
,
SR_STATE_OBJ_PHASE
,
NULL
,
&
ptr
);
tor_assert
(
ptr
);
return
*
(
sr_phase_t
*
)
ptr
;
}
...
...
src/feature/hs/hs_client.c
View file @
f96b6cce
...
...
@@ -1435,7 +1435,7 @@ client_desc_missing_bad_client_auth(const smartlist_t *entry_conns,
/* We should not be called with another type of status. Recover by
* sending a generic error. */
tor_assert_nonfatal_unreached
();
code
=
HS_DESC_DECODE
_GENER
IC
_ERROR
;
code
=
SOCKS5
_GENER
AL
_ERROR
;
}
entry_conn
->
socks_request
->
socks_extended_error_code
=
code
;
connection_mark_unattached_ap
(
entry_conn
,
END_STREAM_REASON_MISC
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment