aboutsummaryrefslogtreecommitdiffstats
path: root/main/tcptls.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/tcptls.c')
-rw-r--r--main/tcptls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/tcptls.c b/main/tcptls.c
index ea1f1f106..f14a646c6 100644
--- a/main/tcptls.c
+++ b/main/tcptls.c
@@ -215,6 +215,11 @@ static void *handle_tcptls_connection(void *data)
if (!tcptls_session->f) {
close(tcptls_session->fd);
ast_log(LOG_WARNING, "FILE * open failed!\n");
+#ifndef DO_SSL
+ if (tcptls_session->parent->tls_cfg) {
+ ast_log(LOG_WARNING, "Attempted a TLS connection without OpenSSL support. This will not work!\n");
+ }
+#endif
ao2_ref(tcptls_session, -1);
return NULL;
}