Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
5f712e82
Commit
5f712e82
authored
9 years ago
by
Joerg Sonnenberger
Committed by
Richard Mudgett
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
tcptls.c: Don't use OpenSSL functions when no SSL support is present.
Change-Id: I68a85a7fcbdb282140ff333c6274b6763d5f82a3
parent
af420ba4
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
main/tcptls.c
+2
-0
2 additions, 0 deletions
main/tcptls.c
with
2 additions
and
0 deletions
main/tcptls.c
+
2
−
0
View file @
5f712e82
...
...
@@ -791,6 +791,7 @@ void *ast_tcptls_server_root(void *data)
return
NULL
;
}
#ifdef DO_SSL
static
void
__ssl_setup_certs
(
struct
ast_tls_config
*
cfg
,
const
size_t
cert_file_len
,
const
char
*
key_type_extension
,
const
char
*
key_type
)
{
char
*
cert_file
=
ast_strdupa
(
cfg
->
certfile
);
...
...
@@ -806,6 +807,7 @@ static void __ssl_setup_certs(struct ast_tls_config *cfg, const size_t cert_file
}
}
}
#endif
static
int
__ssl_setup
(
struct
ast_tls_config
*
cfg
,
int
client
)
{
...
...
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