ast_log(LOG_ERROR,"Attempted a TLS connection without OpenSSL support. This will not work!\n");
ast_log(LOG_ERROR,"TLS client failed: Asterisk is compiled without OpenSSL support. Install OpenSSL development headers and rebuild Asterisk after running ./configure\n");
ast_tcptls_close_session_file(tcptls_session);
ao2_ref(tcptls_session,-1);
returnNULL;
@ -383,7 +383,7 @@ static int __ssl_setup(struct ast_tls_config *cfg, int client)
{
#ifndef DO_SSL
if(cfg->enabled){
ast_log(LOG_NOTICE,"Configured without OpenSSL Development Headers");
ast_log(LOG_ERROR,"TLS server failed: Asterisk is compiled without OpenSSL support. Install OpenSSL development headers and rebuild Asterisk after running ./configure\n");