summaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorJonas Minnberg <sasq64@gmail.com>2015-10-19 14:25:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-10-20 07:57:24 +0200
commitfe7590f729feccd70a2d246fb06bcbf9905d7498 (patch)
tree0f1d3cc7d443a755aa808b5eff97eece9bae6d02 /lib/http.c
parent72646c2e48a819715d2b57ca964f7cda2ef8af2c (diff)
downloadcurl-fe7590f729feccd70a2d246fb06bcbf9905d7498.tar.gz
vtls: added support for mbedTLS
closes #496
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 59f6436fe..b652c2e8b 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1394,7 +1394,8 @@ static CURLcode https_connecting(struct connectdata *conn, bool *done)
#endif
#if defined(USE_OPENSSL) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \
- defined(USE_DARWINSSL) || defined(USE_POLARSSL) || defined(USE_NSS)
+ defined(USE_DARWINSSL) || defined(USE_POLARSSL) || defined(USE_NSS) || \
+ defined(USE_MBEDTLS)
/* This function is for OpenSSL, GnuTLS, darwinssl, schannel and polarssl only.
It should be made to query the generic SSL layer instead. */
static int https_getsock(struct connectdata *conn,