diff options
Diffstat (limited to 'main/tcptls.c')
-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 4a95f72ef..a6d0538af 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -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; |