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
5be7b543
Commit
5be7b543
authored
18 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
Update NTLM flag and description
parent
910ee13b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/http_ntlm.c
+2
-2
2 additions, 2 deletions
lib/http_ntlm.c
lib/http_ntlm.h
+7
-3
7 additions, 3 deletions
lib/http_ntlm.h
with
9 additions
and
5 deletions
lib/http_ntlm.c
+
2
−
2
View file @
5be7b543
...
...
@@ -146,8 +146,8 @@ static void print_flags(FILE *handle, unsigned long flags)
fprintf
(
handle
,
"NTLMFLAG_NEGOTIATE_NTLM_KEY "
);
if
(
flags
&
(
1
<<
10
))
fprintf
(
handle
,
"NTLMFLAG_UNKNOWN_10 "
);
if
(
flags
&
(
1
<<
11
)
)
fprintf
(
handle
,
"NTLMFLAG_
UNKNOWN_11
"
);
if
(
flags
&
NTLMFLAG_NEGOTIATE_ANONYMOUS
)
fprintf
(
handle
,
"NTLMFLAG_
NEGOTIATE_ANONYMOUS
"
);
if
(
flags
&
NTLMFLAG_NEGOTIATE_DOMAIN_SUPPLIED
)
fprintf
(
handle
,
"NTLMFLAG_NEGOTIATE_DOMAIN_SUPPLIED "
);
if
(
flags
&
NTLMFLAG_NEGOTIATE_WORKSTATION_SUPPLIED
)
...
...
This diff is collapsed.
Click to expand it.
lib/http_ntlm.h
+
7
−
3
View file @
5be7b543
...
...
@@ -67,7 +67,7 @@ void Curl_ntlm_cleanup(struct connectdata *conn);
should be encrypted (message confidentiality). */
#define NTLMFLAG_NEGOTIATE_DATAGRAM_STYLE (1<<6)
/*
unknown purpose
*/
/*
Indicates that datagram authentication is being used.
*/
#define NTLMFLAG_NEGOTIATE_LM_KEY (1<<7)
/* Indicates that the LAN Manager session key should be used for signing and
...
...
@@ -80,7 +80,10 @@ void Curl_ntlm_cleanup(struct connectdata *conn);
/* Indicates that NTLM authentication is being used. */
/* unknown (1<<10) */
/* unknown (1<<11) */
#define NTLMFLAG_NEGOTIATE_ANONYMOUS (1<<11)
/* Sent by the client in the Type 3 message to indicate that an anonymous
context has been established. This also affects the response fields. */
#define NTLMFLAG_NEGOTIATE_DOMAIN_SUPPLIED (1<<12)
/* Sent by the client in the Type 1 message to indicate that a desired
...
...
@@ -139,7 +142,8 @@ void Curl_ntlm_cleanup(struct connectdata *conn);
/* Indicates that 128-bit encryption is supported. */
#define NTLMFLAG_NEGOTIATE_KEY_EXCHANGE (1<<30)
/* unknown purpose */
/* Indicates that the client will provide an encrypted master key in
the "Session Key" field of the Type 3 message. */
#define NTLMFLAG_NEGOTIATE_56 (1<<31)
/* Indicates that 56-bit encryption is supported. */
...
...
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