diff options
-rw-r--r-- | main/tcptls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/tcptls.c b/main/tcptls.c index 66a1abd65..f0c8be13d 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -465,6 +465,11 @@ void *ast_make_file_from_fd(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; } |