summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2014-12-15 16:37:13 +0100
committerEmilia Kasper <emilia@openssl.org>2014-12-17 14:27:49 +0100
commit0e1c318ece3c82e96ae95a34a1badf58198d6b28 (patch)
treec69dd55011e4bea767c1ae1d018d011d655dc760 /engines
parent8bc8450a26329e3c890df60026f969e7caabff3d (diff)
Build fixes
Various build fixes, mostly uncovered by clang's unused-const-variable and unused-function errors. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'engines')
-rw-r--r--engines/e_padlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/e_padlock.c b/engines/e_padlock.c
index 9f7a85a8da..5d252f62a9 100644
--- a/engines/e_padlock.c
+++ b/engines/e_padlock.c
@@ -384,6 +384,7 @@ padlock_available(void)
}
#ifndef OPENSSL_NO_AES
+#ifndef AES_ASM
/* Our own htonl()/ntohl() */
static inline void
padlock_bswapl(AES_KEY *ks)
@@ -397,6 +398,7 @@ padlock_bswapl(AES_KEY *ks)
}
}
#endif
+#endif
/* Force key reload from memory to the CPU microcode.
Loading EFLAGS from the stack clears EFLAGS[30]