aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-09 22:34:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-09 22:34:34 +0200
commit6637b237e6ebd17fab83eaf3165cb31dc9be3453 (patch)
treee3355629b6fd60fb18e6f014992066b0de09d5e7 /lib/vtls
parentbf7023d16502c83b173138a15593332d4e949d34 (diff)
vtls: have vtls.h include the backend header files
It turned out some features were not enabled in the build since for example url.c #ifdefs on features that are defined on a per-backend basis but vtls.h didn't include the backend headers. CURLOPT_CERTINFO was one such feature that was accidentally disabled.
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/vtls.c10
-rw-r--r--lib/vtls/vtls.h11
2 files changed, 11 insertions, 10 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index 88511b8bb..cd910d8f9 100644
--- a/lib/vtls/vtls.c
+++ b/lib/vtls/vtls.c
@@ -60,16 +60,6 @@
#include "urldata.h"
#include "vtls.h" /* generic SSL protos etc */
-#include "openssl.h" /* OpenSSL versions */
-#include "gtls.h" /* GnuTLS versions */
-#include "nssg.h" /* NSS versions */
-#include "qssl.h" /* QSOSSL versions */
-#include "gskit.h" /* Global Secure ToolKit versions */
-#include "polarssl.h" /* PolarSSL versions */
-#include "axtls.h" /* axTLS versions */
-#include "cyassl.h" /* CyaSSL versions */
-#include "curl_schannel.h" /* Schannel SSPI version */
-#include "curl_darwinssl.h" /* SecureTransport (Darwin) version */
#include "slist.h"
#include "sendf.h"
#include "rawstr.h"
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h
index e21fdef94..3fd0adc38 100644
--- a/lib/vtls/vtls.h
+++ b/lib/vtls/vtls.h
@@ -23,6 +23,17 @@
***************************************************************************/
#include "curl_setup.h"
+#include "openssl.h" /* OpenSSL versions */
+#include "gtls.h" /* GnuTLS versions */
+#include "nssg.h" /* NSS versions */
+#include "qssl.h" /* QSOSSL versions */
+#include "gskit.h" /* Global Secure ToolKit versions */
+#include "polarssl.h" /* PolarSSL versions */
+#include "axtls.h" /* axTLS versions */
+#include "cyassl.h" /* CyaSSL versions */
+#include "curl_schannel.h" /* Schannel SSPI version */
+#include "curl_darwinssl.h" /* SecureTransport (Darwin) version */
+
#ifndef MD5_DIGEST_LENGTH
#define MD5_DIGEST_LENGTH 16 /* fixed size */
#endif