conn->hostname, conn->remote_port);
if(CURLE_OK != result)
return result;
-
- if(conn->protocol & PROT_HTTPS) {
- /* now, perform the SSL initialization for this socket */
- result = Curl_SSLConnect(conn);
- if(result)
- return result;
- }
+ }
+
+ if(conn->protocol & PROT_HTTPS) {
+ /* now, perform the SSL initialization for this socket */
+ result = Curl_SSLConnect(conn);
+ if(result)
+ return result;
}
if(conn->bits.user_passwd && !data->state.this_is_a_follow) {