commit: r1819 - neon/trunk/src

joe at manyfish.co.uk joe at manyfish.co.uk
Sat Oct 9 12:01:30 EDT 2010


Author: joe
Date: Sat Oct  9 16:01:29 2010
New Revision: 1819

Modified:
   neon/trunk/src/ne_socket.c

Log:
* src/ne_socket.c (ne_sock_connect_ssl): Ignore TLS warnings
  during handshake (Bryan Cain).


Modified: neon/trunk/src/ne_socket.c
==============================================================================
--- neon/trunk/src/ne_socket.c	(original)
+++ neon/trunk/src/ne_socket.c	Sat Oct  9 16:01:29 2010
@@ -1793,7 +1793,9 @@
     }
     sock->ops = &iofns_ssl;
 
-    ret = gnutls_handshake(sock->ssl);
+    do {
+        ret = gnutls_handshake(sock->ssl);
+    } while (RETRY_GNUTLS(sock, ret));
     if (ret < 0) {
 	error_gnutls(sock, ret);
         return NE_SOCK_ERROR;



More information about the neon-commits mailing list