aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c
index a13989417..2726165bf 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1398,8 +1398,7 @@ static int https_getsock(struct connectdata *conn,
return CURLE_OK;
}
#else
-#if defined(USE_NSS) || defined(USE_QSOSSL) || \
- defined(USE_POLARSSL) || defined(USE_AXTLS) || defined(USE_CYASSL)
+#ifdef USE_SSL
static int https_getsock(struct connectdata *conn,
curl_socket_t *socks,
int numsocks)
@@ -1409,7 +1408,7 @@ static int https_getsock(struct connectdata *conn,
(void)numsocks;
return GETSOCK_BLANK;
}
-#endif /* USE_AXTLS || USE_POLARSSL || USE_QSOSSL || USE_NSS */
+#endif /* USE_SSL */
#endif /* USE_SSLEAY || USE_GNUTLS */
/*