Make sure we get the definition of OPENSSL_NO_RC4.

This commit is contained in:
Richard Levitte 2003-03-20 23:29:17 +00:00
parent c7e7fc3ee4
commit 39c4b7092c
2 changed files with 4 additions and 4 deletions

View File

@ -56,10 +56,11 @@
* [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>

View File

@ -59,12 +59,11 @@
#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