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.
This commit is contained in:
parent
2a85f77146
commit
6145b0b183
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
#include <openssl/evp.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>
|
#include <sys/param.h>
|
||||||
# if (OpenBSD >= 200112) || ((__FreeBSD_version >= 470101 && __FreeBSD_version < 500000) || __FreeBSD_version >= 500041)
|
# if (OpenBSD >= 200112) || ((__FreeBSD_version >= 470101 && __FreeBSD_version < 500000) || __FreeBSD_version >= 500041)
|
||||||
# define HAVE_CRYPTODEV
|
# define HAVE_CRYPTODEV
|
||||||
|
|
Loading…
Reference in a new issue