X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp-ntlm.c;h=b2f8317b470f29341e5ae732a7085034cfb0f76f;hp=5371a89e22b6bd1ce0dd6abf87731c90d576a054;hb=0967c21094580317353f0742c4836c5bbea34059;hpb=ce381136b6537e7fcbf9f5e90e8b14d278de7ca0 diff --git a/src/http-ntlm.c b/src/http-ntlm.c index 5371a89e..b2f8317b 100644 --- a/src/http-ntlm.c +++ b/src/http-ntlm.c @@ -366,7 +366,7 @@ ntlm_output (struct ntlmdata *ntlm, const char *user, const char *passwd, */ snprintf(ntlmbuf, sizeof(ntlmbuf), - "NTLMSSP%c\x01%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%s%s", + "NTLMSSP%c\001%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%s%s", 0, /* trailing zero */ 0,0,0, /* part of type-1 long */ @@ -485,7 +485,7 @@ ntlm_output (struct ntlmdata *ntlm, const char *user, const char *passwd, "%c%c" 2 zeroes */ size = snprintf(ntlmbuf, sizeof(ntlmbuf), - "NTLMSSP%c\x03%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c\xff\xff%c%c\x01\x82%c%c", + "NTLMSSP%c\003%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c\377\377%c%c\001\202%c%c", 0, /* zero termination */ 0,0,0, /* type-3 long, the 24 upper bits */