diff options
author | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 04:00:14 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 04:00:14 +0000 |
commit | 6145b0b1835f14167f8e9e4701251149f9c5373f (patch) | |
tree | 049a17d04e8190613e1dc9e200a186b956b37d36 /crypto/engine | |
parent | 2a85f77146eff995afae6f81b8601a64bb1a41fc (diff) |
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.
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_cryptodev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c index b32be08c8e..e93b7fd1a2 100644 --- a/crypto/engine/eng_cryptodev.c +++ b/crypto/engine/eng_cryptodev.c @@ -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 |