Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
eb91e1a5
Commit
eb91e1a5
authored
11 years ago
by
Steve Holme
Browse files
Options
Downloads
Patches
Plain Diff
ntlm: Coding style policing dating back to 2011
parent
2319221c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/curl_ntlm_msgs.c
+3
-4
3 additions, 4 deletions
lib/curl_ntlm_msgs.c
with
3 additions
and
4 deletions
lib/curl_ntlm_msgs.c
+
3
−
4
View file @
eb91e1a5
...
...
@@ -256,8 +256,8 @@ CURLcode Curl_ntlm_decode_type2_target(struct SessionHandle *data,
* Returns CURLE_OK on success.
*/
CURLcode
Curl_ntlm_decode_type2_message
(
struct
SessionHandle
*
data
,
const
char
*
header
,
struct
ntlmdata
*
ntlm
)
const
char
*
header
,
struct
ntlmdata
*
ntlm
)
{
#ifndef USE_WINDOWS_SSPI
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
/* copy the source to the destination and fill in zeroes in every
other destination byte! */
static
void
unicodecpy
(
unsigned
char
*
dest
,
const
char
*
src
,
size_t
length
)
static
void
unicodecpy
(
unsigned
char
*
dest
,
const
char
*
src
,
size_t
length
)
{
size_t
i
;
for
(
i
=
0
;
i
<
length
;
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment