static CURLcode https_connecting(struct connectdata *conn, bool *done);
#ifdef USE_SSL
static int https_getsock(struct connectdata *conn,
- curl_socket_t *socks,
- int numsocks);
+ curl_socket_t *socks,
+ int numsocks);
#endif
/*
Curl_http_done, /* done */
ZERO_NULL, /* do_more */
Curl_http_connect, /* connect_it */
- https_connecting, /* connecting */
+ https_connecting, /* connecting */
ZERO_NULL, /* doing */
- https_getsock, /* proto_getsock */
+ https_getsock, /* proto_getsock */
ZERO_NULL, /* doing_getsock */
ZERO_NULL, /* disconnect */
PORT_HTTPS, /* defport */
/* This function is OpenSSL-specific. It should be made to query the generic
SSL layer instead. */
static int https_getsock(struct connectdata *conn,
- curl_socket_t *socks,
- int numsocks)
+ curl_socket_t *socks,
+ int numsocks)
{
if(conn->protocol & PROT_HTTPS) {
struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET];
}
#else
#ifdef USE_GNUTLS
-int https_getsock(struct connectdata *conn,
- curl_socket_t *socks,
- int numsocks)
+static int https_getsock(struct connectdata *conn,
+ curl_socket_t *socks,
+ int numsocks)
{
(void)conn;
(void)socks;
}
#else
#ifdef USE_NSS
-int https_getsock(struct connectdata *conn,
- curl_socket_t *socks,
- int numsocks)
+static int https_getsock(struct connectdata *conn,
+ curl_socket_t *socks,
+ int numsocks)
{
(void)conn;
(void)socks;
}
#else
#ifdef USE_QSOSSL
-int https_getsock(struct connectdata *conn,
- curl_socket_t *socks,
- int numsocks)
+static int https_getsock(struct connectdata *conn,
+ curl_socket_t *socks,
+ int numsocks)
{
(void)conn;
(void)socks;
else
/* HTTP GET/HEAD download: */
result = Curl_setup_transfer(conn, FIRSTSOCKET, -1, TRUE,
- &http->readbytecount,
- http->postdata?FIRSTSOCKET:-1,
- http->postdata?&http->writebytecount:NULL);
+ &http->readbytecount,
+ http->postdata?FIRSTSOCKET:-1,
+ http->postdata?&http->writebytecount:NULL);
}
if(result)
return result;