aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index f7fdcc1d8..7610087e9 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -154,8 +154,9 @@ int connection_tls_start_handshake(connection_t *conn, int receiving) {
}
connection_start_reading(conn);
log_fn(LOG_DEBUG,"starting the handshake");
- if(connection_tls_continue_handshake(conn) < 0)
+ if(connection_tls_continue_handshake(conn) < 0) {
return -1;
+ }
return 0;
}