aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-23 10:01:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-23 10:01:58 +0200
commit9f5744a72f2ab7deebac27c39c0962b0f93d82f7 (patch)
treedb3914731db83fe6943115d1bdf48ef7802ff72a /lib
parente36115d6889309d3deacc125d766221fe6cea0ca (diff)
gnutls: removed dead code
Bug: http://curl.haxx.se/bug/view.cgi?id=1437 Reported-by: Julien
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/gtls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c
index 6666104b9..434f872ff 100644
--- a/lib/vtls/gtls.c
+++ b/lib/vtls/gtls.c
@@ -307,8 +307,6 @@ static CURLcode handshake(struct connectdata *conn,
gnutls_record_get_direction(session)?
ssl_connect_2_writing:ssl_connect_2_reading;
continue;
- if(nonblocking)
- return CURLE_OK;
}
else if((rc < 0) && !gnutls_error_is_fatal(rc)) {
const char *strerr = NULL;