mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-05 20:55:26 +00:00
Merge "tcptls: Print notice when TLS is enabled but not configured." into 13
This commit is contained in:
@@ -874,7 +874,10 @@ void *ast_tcptls_server_root(void *data)
|
||||
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;
|
||||
|
Reference in New Issue
Block a user