ntlm: Coding style policing dating back to 2011
This commit is contained in:
parent
2319221c83
commit
eb91e1a58f
@ -256,8 +256,8 @@ CURLcode Curl_ntlm_decode_type2_target(struct SessionHandle *data,
|
|||||||
* Returns CURLE_OK on success.
|
* Returns CURLE_OK on success.
|
||||||
*/
|
*/
|
||||||
CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data,
|
CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data,
|
||||||
const char* header,
|
const char *header,
|
||||||
struct ntlmdata* ntlm)
|
struct ntlmdata *ntlm)
|
||||||
{
|
{
|
||||||
#ifndef USE_WINDOWS_SSPI
|
#ifndef USE_WINDOWS_SSPI
|
||||||
static const char type2_marker[] = { 0x02, 0x00, 0x00, 0x00 };
|
static const char type2_marker[] = { 0x02, 0x00, 0x00, 0x00 };
|
||||||
@ -363,8 +363,7 @@ void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm)
|
|||||||
#ifndef USE_WINDOWS_SSPI
|
#ifndef USE_WINDOWS_SSPI
|
||||||
/* copy the source to the destination and fill in zeroes in every
|
/* copy the source to the destination and fill in zeroes in every
|
||||||
other destination byte! */
|
other destination byte! */
|
||||||
static void unicodecpy(unsigned char *dest,
|
static void unicodecpy(unsigned char *dest, const char *src, size_t length)
|
||||||
const char *src, size_t length)
|
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
for(i = 0; i < length; i++) {
|
for(i = 0; i < length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user