Skip to content
Snippets Groups Projects
Commit 3c897daa authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "tcptls: Print notice when TLS is enabled but not configured."

parents 83c61383 19332e69
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,10 @@ static void __ssl_setup_certs(struct ast_tls_config *cfg, const size_t cert_file
static int __ssl_setup(struct ast_tls_config *cfg, int client)
{
#ifndef DO_SSL
cfg->enabled = 0;
if (cfg->enabled) {
ast_log(LOG_NOTICE, "Configured without OpenSSL Development Headers");
cfg->enabled = 0;
}
return 0;
#else
int disable_ssl = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment