Skip to content

Commit

Permalink
The "cryptodev" engine preprocessor logic used undefined symbols in
Browse files Browse the repository at this point in the history
comparisons. It's better not to allow this, because it gives false
positives when using compiler warnings that detect mistyped symbols.
  • Loading branch information
Geoff Thorpe committed Oct 29, 2003
1 parent 2a85f77 commit 6145b0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crypto/engine/eng_cryptodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6145b0b

Please sign in to comment.