Permalink
Browse files

Fixed minor comment issues

  • Loading branch information...
georgeok committed Dec 3, 2018
1 parent 007c2de commit 5c2081bcf052dfe84700970dd52167e25f2e4833
Showing with 6 additions and 4 deletions.
  1. +4 −0 lib/urldata.h
  2. +0 −2 lib/vauth/ntlm_sspi.c
  3. +2 −2 lib/vtls/schannel.c
@@ -328,6 +328,10 @@ struct kerberos5data {
struct ntlmdata {
curlntlm state;
#if defined(USE_WINDOWS_SSPI)
/* The sslContext is used for the Schannel bindings. The
* api is available on the Windows 7 SDK and later.
* Visual Studio 2008 and older build against older SDKs.
*/
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
CtxtHandle *sslContext;
#endif
@@ -264,8 +264,6 @@ CURLcode Curl_auth_create_ntlm_type3_message(struct Curl_easy *data,
type_2_desc.ulVersion = SECBUFFER_VERSION;
type_2_desc.cBuffers = 1;
type_2_desc.pBuffers = &type_2_bufs[0];


type_2_bufs[0].BufferType = SECBUFFER_TOKEN;
type_2_bufs[0].pvBuffer = ntlm->input_token;
type_2_bufs[0].cbBuffer = curlx_uztoul(ntlm->input_token_len);
@@ -1416,8 +1416,8 @@ schannel_connect_common(struct connectdata *conn, int sockindex,
conn->send[sockindex] = schannel_send;

#if defined(USE_WINDOWS_SSPI) && defined(_MSC_VER) && (_MSC_VER > 1500)
/* When SSPI is used in combination with scannel
* we need the scannel context to create the channel
/* When SSPI is used in combination with Schannel
* we need the scannel context to create the Schannel
* binding to pass the IIS extended protection checks.
*/
conn->ntlm.sslContext = &BACKEND->ctxt->ctxt_handle;

0 comments on commit 5c2081b

Please sign in to comment.