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
2fc70e2c
Commit
2fc70e2c
authored
19 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
re-arrange some code to prevent warnings on unreachable code
parent
7ae3f0e7
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/sslgen.c
+7
-4
7 additions, 4 deletions
lib/sslgen.c
with
7 additions
and
4 deletions
lib/sslgen.c
+
7
−
4
View file @
2fc70e2c
...
...
@@ -170,10 +170,9 @@ int Curl_ssl_init(void)
return
Curl_gtls_init
();
#else
/* no SSL support */
return
1
;
#endif
/* USE_GNUTLS */
#endif
/* USE_SSLEAY */
return
1
;
}
...
...
@@ -384,12 +383,14 @@ CURLcode Curl_ssl_set_engine(struct SessionHandle *data, const char *engine)
/* FIX: add code here */
(
void
)
data
;
(
void
)
engine
;
return
CURLE_FAILED_INIT
;
#else
/* no SSL layer */
(
void
)
data
;
(
void
)
engine
;
return
CURLE_FAILED_INIT
;
#endif
/* USE_GNUTLS */
#endif
/* USE_SSLEAY */
return
CURLE_FAILED_INIT
;
}
/* Selects an (Open?)SSL crypto engine
...
...
@@ -402,11 +403,13 @@ CURLcode Curl_ssl_set_engine_default(struct SessionHandle *data)
#ifdef USE_GNUTLS
/* FIX: add code here */
(
void
)
data
;
return
CURLE_FAILED_INIT
;
#else
/* No SSL layer */
(
void
)
data
;
return
CURLE_FAILED_INIT
;
#endif
/* USE_GNUTLS */
#endif
/* USE_SSLEAY */
return
CURLE_FAILED_INIT
;
}
/* Return list of OpenSSL crypto engine names. */
...
...
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