aboutsummaryrefslogtreecommitdiffstats
path: root/main/aestab.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-24 22:07:50 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-24 22:07:50 +0000
commit13417b262fc5bc8660119c444d99ba792220af94 (patch)
treef7d460f19cb2b61dfa1bd6eca49cf1e3afb09fcc /main/aestab.c
parentfb966a66a6f133dc15c95c01dcbef4532311898f (diff)
use the OpenSSL AES implementation if it's available (unless configured not to)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66071 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/aestab.c')
-rw-r--r--main/aestab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/aestab.c b/main/aestab.c
index c84a480af..b134d22d8 100644
--- a/main/aestab.c
+++ b/main/aestab.c
@@ -37,6 +37,8 @@ extern "C"
{
#endif
+#ifndef HAVE_CRYPTO
+
#define DO_TABLES
#include "aesopt.h"
@@ -226,6 +228,8 @@ void gen_tabs(void)
#endif
+#endif /* !HAVE_CRYPTO */
+
#if defined(__cplusplus)
}
#endif