]> granicus.if.org Git - curl/commitdiff
sslgen: define Curl_ssl_connect_nonblocking for non-SSL
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Mar 2011 10:13:12 +0000 (11:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Mar 2011 10:13:12 +0000 (11:13 +0100)
The non-blocking connect improvement for IMAP showed that we didn't
properly define the Curl_ssl_connect_nonblocking function for non-SSL
builds.

Reported by: Tor Arntsen

lib/sslgen.h

index 997e30d35eb641853ae717417c5f3370b5326ea8..af582e06f66631bddf47ee9f32bc0dca23b0fd82 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2008, 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -86,7 +86,7 @@ void Curl_ssl_delsessionid(struct connectdata *conn, void *ssl_sessionid);
 #define Curl_ssl_data_pending(x,y) 0
 #define Curl_ssl_check_cxn(x) 0
 #define Curl_ssl_free_certinfo(x)
-
+#define Curl_ssl_connect_nonblocking(x,y,z) CURLE_FAILED_INIT
 #endif
 
 #endif /* USE_SSL */