提交 6145b0b1 编写于 作者: G Geoff Thorpe

The "cryptodev" engine preprocessor logic used undefined symbols in

comparisons. It's better not to allow this, because it gives false
positives when using compiler warnings that detect mistyped symbols.
上级 2a85f771
......@@ -33,7 +33,8 @@
#include <openssl/engine.h>
#include <openssl/evp.h>
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#if (defined(__unix__) || defined(unix)) && !defined(USG) && \
(defined(OpenBSD) || defined(__FreeBSD_version))
#include <sys/param.h>
# if (OpenBSD >= 200112) || ((__FreeBSD_version >= 470101 && __FreeBSD_version < 500000) || __FreeBSD_version >= 500041)
# define HAVE_CRYPTODEV
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册