]> granicus.if.org Git - curl/commitdiff
vtls: have vtls.h include the backend header files
authorDaniel Stenberg <daniel@haxx.se>
Thu, 9 Oct 2014 20:34:34 +0000 (22:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Oct 2014 20:34:34 +0000 (22:34 +0200)
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.

lib/vtls/vtls.c
lib/vtls/vtls.h

index 88511b8bb676e879250e53ee443749f4cd4365a2..cd910d8f9b146833d80600e1d60e2ce0f64ce431 100644 (file)
 #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"
index e21fdef94330937895c83dcffa8671ac32194307..3fd0adc384d58e89dfc70eecaa4a4eb7448170de 100644 (file)
  ***************************************************************************/
 #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