]> granicus.if.org Git - curl/commitdiff
http_negotiate_sspi: Prefer use of 'attrs' for context attributes
authorSteve Holme <steve_holme@hotmail.com>
Sat, 17 Jan 2015 11:27:36 +0000 (11:27 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 17 Jan 2015 13:28:44 +0000 (13:28 +0000)
Use the same variable name as other areas of SSPI code.

lib/http_negotiate_sspi.c

index 207dc49c8d496e0d9bc923500b2a4a5b35420054..99e8f38994b3fc2c1601aaaa911ac7da496411dc 100644 (file)
@@ -53,8 +53,8 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
   SecBufferDesc     in_buff_desc;
   SecBuffer         in_sec_buff;
   SECURITY_STATUS   status;
-  unsigned long     context_attributes;
-  TimeStamp         expiry;
+  unsigned long     attrs;
+  TimeStamp         expiry; /* For Windows 9x compatibility of SSPI calls */
   size_t len = 0, input_token_len = 0;
   CURLcode result;
 
@@ -201,7 +201,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
     0,
     neg_ctx->context,
     &out_buff_desc,
-    &context_attributes,
+    &attrs,
     &expiry);
 
   Curl_safefree(input_token);