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
David Goulet
Tor
Commits
f18e9411
Commit
f18e9411
authored
Nov 07, 2007
by
Nick Mathewson
⛰
Browse files
r16533@catbus: nickm | 2007-11-07 12:42:58 -0500
Fix another "TLS error. breaking connection".~ svn:r12416
parent
45b0ee42
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/connection_or.c
View file @
f18e9411
...
...
@@ -577,10 +577,13 @@ connection_tls_start_handshake(or_connection_t *conn, int receiving)
int
connection_tls_continue_handshake
(
or_connection_t
*
conn
)
{
int
result
;
check_no_tls_errors
();
switch
(
tor_tls_handshake
(
conn
->
tls
))
{
result
=
tor_tls_handshake
(
conn
->
tls
);
switch
(
result
)
{
CASE_TOR_TLS_ERROR_ANY:
log_info
(
LD_OR
,
"tls error. breaking connection."
);
log_info
(
LD_OR
,
"tls error [%s]. breaking connection."
,
tor_tls_err_to_string
(
result
));
return
-
1
;
case
TOR_TLS_DONE
:
return
connection_tls_finish_handshake
(
conn
);
...
...
Write
Preview
Supports
Markdown
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