mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Convert an error message to actually be helpful.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@330648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1608,7 +1608,7 @@ static int aji_act_hook(void *data, int type, iks *node)
|
|||||||
case IKS_NODE_START:
|
case IKS_NODE_START:
|
||||||
if (client->usetls && !aji_is_secure(client)) {
|
if (client->usetls && !aji_is_secure(client)) {
|
||||||
#ifndef HAVE_OPENSSL
|
#ifndef HAVE_OPENSSL
|
||||||
ast_log(LOG_ERROR, "OpenSSL not installed. You need to install OpenSSL on this system, or disable the TLS option in your configuration file\n");
|
ast_log(LOG_ERROR, "TLS connection cannot be established. Please install OpenSSL and its development libraries on this system, or disable the TLS option in your configuration file\n");
|
||||||
ASTOBJ_UNREF(client, aji_client_destroy);
|
ASTOBJ_UNREF(client, aji_client_destroy);
|
||||||
return IKS_HOOK;
|
return IKS_HOOK;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user