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
3b8d7fdd
Commit
3b8d7fdd
authored
15 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
Client certificate ENG file type requires OpenSSL 0.9.7 or newer
parent
0e80f0e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/ssluse.c
+2
-3
2 additions, 3 deletions
lib/ssluse.c
with
2 additions
and
3 deletions
lib/ssluse.c
+
2
−
3
View file @
3b8d7fdd
...
...
@@ -364,7 +364,7 @@ int cert_stuff(struct connectdata *conn,
}
break
;
case
SSL_FILETYPE_ENGINE
:
#ifdef
HAVE_OPENSSL_ENGINE_H
#if
def
ined(
HAVE_OPENSSL_ENGINE_H
) && defined(ENGINE_CTRL_GET_CMD_FROM_NAME)
{
if
(
data
->
state
.
engine
)
{
const
char
*
cmd_name
=
"LOAD_CERT_CTRL"
;
...
...
@@ -376,14 +376,13 @@ int cert_stuff(struct connectdata *conn,
params
.
cert_id
=
cert_file
;
params
.
cert
=
NULL
;
#ifdef ENGINE_CTRL_GET_CMD_FROM_NAME
/* Does the engine supports LOAD_CERT_CTRL ? */
if
(
!
ENGINE_ctrl
(
data
->
state
.
engine
,
ENGINE_CTRL_GET_CMD_FROM_NAME
,
0
,
(
void
*
)
cmd_name
,
NULL
))
{
failf
(
data
,
"ssl engine does not support loading certificates"
);
return
0
;
}
#endif
/* Load the certificate from the engine */
if
(
!
ENGINE_ctrl_cmd
(
data
->
state
.
engine
,
cmd_name
,
0
,
&
params
,
NULL
,
1
))
{
...
...
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