Make sure we get the definition of OPENSSL_NO_RC4.
This commit is contained in:
parent
c7e7fc3ee4
commit
39c4b7092c
@ -56,10 +56,11 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_RC4
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "cryptlib.h"
|
#include "cryptlib.h"
|
||||||
|
|
||||||
|
#ifndef OPENSSL_NO_RC4
|
||||||
|
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
#include <openssl/rc4.h>
|
#include <openssl/rc4.h>
|
||||||
|
@ -59,12 +59,11 @@
|
|||||||
#ifndef HEADER_RC4_H
|
#ifndef HEADER_RC4_H
|
||||||
#define HEADER_RC4_H
|
#define HEADER_RC4_H
|
||||||
|
|
||||||
|
#include <openssl/opensslconf.h> /* OPENSSL_NO_RC4, RC4_INT */
|
||||||
#ifdef OPENSSL_NO_RC4
|
#ifdef OPENSSL_NO_RC4
|
||||||
#error RC4 is disabled.
|
#error RC4 is disabled.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <openssl/opensslconf.h> /* RC4_INT */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user