提交 39c4b709 编写于 作者: R Richard Levitte

Make sure we get the definition of OPENSSL_NO_RC4.

上级 c7e7fc3e
......@@ -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>
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册