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
c31dec7f
Commit
c31dec7f
authored
10 years ago
by
Patrick Monnerat
Browse files
Options
Downloads
Patches
Plain Diff
GSSAPI: remove useless *_MECHANISM defines.
parent
5b22c47c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
lib/curl_gssapi.h
+0
-6
0 additions, 6 deletions
lib/curl_gssapi.h
lib/http_negotiate.c
+1
-1
1 addition, 1 deletion
lib/http_negotiate.c
lib/krb5.c
+1
-1
1 addition, 1 deletion
lib/krb5.c
lib/socks_gssapi.c
+1
-1
1 addition, 1 deletion
lib/socks_gssapi.c
with
3 additions
and
9 deletions
lib/curl_gssapi.h
+
0
−
6
View file @
c31dec7f
...
...
@@ -39,14 +39,8 @@
# include <gssapi.h>
#endif
#ifndef SPNEGO_MECHANISM
extern
gss_OID_desc
Curl_spnego_mech_oid
;
#define SPNEGO_MECHANISM &Curl_spnego_mech_oid
#endif
#ifndef KRB5_MECHANISM
extern
gss_OID_desc
Curl_krb5_mech_oid
;
#define KRB5_MECHANISM &Curl_krb5_mech_oid
#endif
/* Common method for using GSS-API */
...
...
This diff is collapsed.
Click to expand it.
lib/http_negotiate.c
+
1
−
1
View file @
c31dec7f
...
...
@@ -147,7 +147,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
&
minor_status
,
&
neg_ctx
->
context
,
neg_ctx
->
server_name
,
SPNEGO_MECHANISM
,
&
Curl_spnego_mech_oid
,
GSS_C_NO_CHANNEL_BINDINGS
,
&
input_token
,
&
output_token
,
...
...
This diff is collapsed.
Click to expand it.
lib/krb5.c
+
1
−
1
View file @
c31dec7f
...
...
@@ -236,7 +236,7 @@ krb5_auth(void *app_data, struct connectdata *conn)
&
min
,
context
,
gssname
,
KRB5_MECHANISM
,
&
Curl_krb5_mech_oid
,
&
chan
,
gssresp
,
&
output_buffer
,
...
...
This diff is collapsed.
Click to expand it.
lib/socks_gssapi.c
+
1
−
1
View file @
c31dec7f
...
...
@@ -181,7 +181,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
&
gss_minor_status
,
&
gss_context
,
server
,
KRB5_MECHANISM
,
&
Curl_krb5_mech_oid
,
NULL
,
gss_token
,
&
gss_send_token
,
...
...
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