Hiroshi Miura miurahr@linux.com writes:
+#ifdef SONAME_LIBSSL
- /* can't connect if we are already connected */
- if (connection->ssl_s)
- {
ERR("already connected\n");
return ERROR_INTERNET_CANNOT_CONNECT;
- }
- /* connect with given TLS options */
- res = netcon_secure_connect_setup(connection, get_tls_option());
- if (res == ERROR_SUCCESS)
return res;
You missed some #ifdefs, this won't compile.