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

index d58f507837bd54d9b14d1f842941a7e231e2968b..eadd8d42741e9c6c71fcea5b584d817d470f9154 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#ifndef OPENSSL_NO_RC4
-
 #include <stdio.h>
 #include "cryptlib.h"
+
+#ifndef OPENSSL_NO_RC4
+
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 #include <openssl/rc4.h>
index 8722091f2ecf02e0e2fc6da262198e2ecf1e198d..7aec04fe93a254c84bdd7bd32621c7cd86d9f7d0 100644 (file)
 #ifndef HEADER_RC4_H
 #define HEADER_RC4_H
 
+#include <openssl/opensslconf.h> /* OPENSSL_NO_RC4, RC4_INT */
 #ifdef OPENSSL_NO_RC4
 #error RC4 is disabled.
 #endif
 
-#include <openssl/opensslconf.h> /* RC4_INT */
-
 #ifdef  __cplusplus
 extern "C" {
 #endif