From 9f5744a72f2ab7deebac27c39c0962b0f93d82f7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Oct 2014 10:01:58 +0200 Subject: [PATCH] gnutls: removed dead code Bug: http://curl.haxx.se/bug/view.cgi?id=1437 Reported-by: Julien --- lib/vtls/gtls.c | 2 -- 1 file changed, 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;