summaryrefslogtreecommitdiff
path: root/main/aestab.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-05-24 22:07:50 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-05-24 22:07:50 +0000
commit4573b36af13859cb634585af6786f4585dc9d61f (patch)
treef7d460f19cb2b61dfa1bd6eca49cf1e3afb09fcc /main/aestab.c
parenta3d04ce638c204be6ebcfad1e5bfd01c9dc0f30a (diff)
use the OpenSSL AES implementation if it's available (unless configured not to)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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