[PATCH] wininet: TLS fallback mechanism (take2)
Alexandre Julliard
julliard at winehq.org
Mon Oct 29 17:11:25 CDT 2012
Hiroshi Miura <miurahr at 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.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list