From 0e19e9ff1ce3f7620e31f38bba9ac163c26cc256 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Mon, 1 Oct 2012 11:02:48 +0000
Subject: [PATCH] - Minor define change to prevent warning
---
library/aes.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/library/aes.c b/library/aes.c
index 2880cdb0e6..cc05ffd435 100644
--- a/library/aes.c
+++ b/library/aes.c
@@ -61,7 +61,8 @@
}
#endif
-#if defined(POLARSSL_PADLOCK_C)
+#if defined(POLARSSL_PADLOCK_C) && \
+ ( defined(POLARSSL_HAVE_X86) || defined(PADLOCK_ALIGN16) )
static int aes_padlock_ace = -1;
#endif