Make sure we get the definition of OPENSSL_NO_RC2.
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:29:06 +0000 (23:29 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:29:06 +0000 (23:29 +0000)
crypto/evp/e_rc2.c
crypto/rc2/rc2.h

index d42cbfd17ec7b0b283632fa94e9b02523ed29f8b..3932f60e59c7ad4211443b973b5a6fef66ced64a 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#ifndef OPENSSL_NO_RC2
-
 #include <stdio.h>
 #include "cryptlib.h"
+
+#ifndef OPENSSL_NO_RC2
+
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 #include "evp_locl.h"
index 7816b454dcdf92a1a76b80e8c9ccc16f929d5f61..34c83623172f0d34d5752f185fff3fbfe288af05 100644 (file)
@@ -59,6 +59,7 @@
 #ifndef HEADER_RC2_H
 #define HEADER_RC2_H
 
+#include <openssl/opensslconf.h> /* OPENSSL_NO_RC2, RC2_INT */
 #ifdef OPENSSL_NO_RC2
 #error RC2 is disabled.
 #endif
@@ -66,7 +67,6 @@
 #define RC2_ENCRYPT    1
 #define RC2_DECRYPT    0
 
-#include <openssl/opensslconf.h> /* RC2_INT */
 #define RC2_BLOCK      8
 #define RC2_KEY_LENGTH 16