提交 83054771 编写于 作者: R Richard Levitte

Make sure we get the definition of OPENSSL_NO_IDEA and IDEA_INT.

上级 e8cc7de4
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
#ifndef HEADER_IDEA_H #ifndef HEADER_IDEA_H
#define HEADER_IDEA_H #define HEADER_IDEA_H
#include <openssl/opensslconf.h> /* IDEA_INT, OPENSSL_NO_IDEA */
#ifdef OPENSSL_NO_IDEA #ifdef OPENSSL_NO_IDEA
#error IDEA is disabled. #error IDEA is disabled.
#endif #endif
...@@ -66,7 +68,6 @@ ...@@ -66,7 +68,6 @@
#define IDEA_ENCRYPT 1 #define IDEA_ENCRYPT 1
#define IDEA_DECRYPT 0 #define IDEA_DECRYPT 0
#include <openssl/opensslconf.h> /* IDEA_INT */
#define IDEA_BLOCK 8 #define IDEA_BLOCK 8
#define IDEA_KEY_LENGTH 16 #define IDEA_KEY_LENGTH 16
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册