diff options
author | Joshua Colp <jcolp@digium.com> | 2017-11-07 09:42:34 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-11-07 09:42:34 -0600 |
commit | 5d19dc2cb1e41e819b7f09f4fe342506cdabad1e (patch) | |
tree | fe24a74e7ee7de85228706c614a2e2151836ac35 | |
parent | 315ccf40f403085601ab21b0985196c8125dd4cb (diff) | |
parent | 7dd2b18e329e9815ac3c1c3af9e2ef574cf965e2 (diff) |
Merge "tcptls: Print notice when TLS is enabled but not configured." into 13
-rw-r--r-- | main/tcptls.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/tcptls.c b/main/tcptls.c index 144b32f47..ef22094bf 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -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; |