diff options
Diffstat (limited to 'lib/curl_schannel.c')
-rw-r--r-- | lib/curl_schannel.c | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c index 06095d719..8cb3af80f 100644 --- a/lib/curl_schannel.c +++ b/lib/curl_schannel.c @@ -7,7 +7,7 @@ * * Copyright (C) 2012, Marc Hoersken, <info@marc-hoersken.de>, et al. * Copyright (C) 2012, Mark Salisbury, <mark.salisbury@hp.com> - * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -24,11 +24,21 @@ /* * Source file for all SChannel-specific code for the TLS/SSL layer. No code - * but curl_sslgen.c should ever call or use these functions. + * but sslgen.c should ever call or use these functions. * */ /* + * Based upon the PolarSSL implementation in polarssl.c and polarssl.h: + * Copyright (C) 2010, 2011, Hoi-Ho Chan, <hoiho.chan@gmail.com> + * + * Based upon the CyaSSL implementation in cyassl.c and cyassl.h: + * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. + * + * Thanks for code and inspiration! + */ + +/* * TODO list for TLS/SSL implementation: * - implement client certificate authentication * - implement custom server certificate validation @@ -41,7 +51,7 @@ * http://msdn.microsoft.com/en-us/library/windows/desktop/aa380161.aspx */ -#include "curl_setup.h" +#include "setup.h" #ifdef USE_SCHANNEL @@ -51,21 +61,21 @@ #include "curl_sspi.h" #include "curl_schannel.h" -#include "curl_sslgen.h" -#include "curl_sendf.h" -#include "curl_connect.h" /* for the connect timeout */ -#include "curl_strerror.h" -#include "curl_select.h" /* for the socket readyness */ -#include "curl_inet_pton.h" /* for IP addr SNI check */ +#include "sslgen.h" +#include "sendf.h" +#include "connect.h" /* for the connect timeout */ +#include "strerror.h" +#include "select.h" /* for the socket readyness */ +#include "inet_pton.h" /* for IP addr SNI check */ #include "curl_multibyte.h" -#include "curl_warnless.h" +#include "warnless.h" #define _MPRINTF_REPLACE /* use our functions only */ #include <curl/mprintf.h> #include "curl_memory.h" /* The last #include file should be: */ -#include "curl_memdebug.h" +#include "memdebug.h" /* Uncomment to force verbose output * #define infof(x, y, ...) printf(y, __VA_ARGS__) |