From 931a23a5a55d153db9a0a76ee27e28af90be86e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Mon, 3 Sep 2001 12:37:13 +0000 Subject: [PATCH] rearrange #includes because trying to include is a bad idea if OPENSSL_OPENBSD_DEV_CRYPTO is not defined --- crypto/evp/openbsd_hw.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/crypto/evp/openbsd_hw.c b/crypto/evp/openbsd_hw.c index b4ac72dbc..550145e49 100644 --- a/crypto/evp/openbsd_hw.c +++ b/crypto/evp/openbsd_hw.c @@ -47,21 +47,22 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +#include +#include +#include "evp_locl.h" + +/* check flag after OpenSSL headers to ensure make depend works */ +#ifdef OPENSSL_OPENBSD_DEV_CRYPTO + #include #include #include #include #include #include -#include -#include -#include -#include "evp_locl.h" #include -/* check flag after headers to ensure make depend works */ -#ifdef OPENSSL_OPENBSD_DEV_CRYPTO - /* longest key supported in hardware */ #define MAX_HW_KEY 24 #define MAX_HW_IV 8