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:
Kevin P. Fleming
2011-08-02 20:51:56 +00:00
parent 3a0faafc26
commit 27a0e8dfe4

View File

@@ -1608,7 +1608,7 @@ static int aji_act_hook(void *data, int type, iks *node)
case IKS_NODE_START:
if (client->usetls && !aji_is_secure(client)) {
#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);
return IKS_HOOK;
#else