summaryrefslogtreecommitdiffstats
path: root/crypto/openssl
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2008-01-13 11:44:47 +0000
committersimon <simon@FreeBSD.org>2008-01-13 11:44:47 +0000
commit1ee7c30aa948b02c27643a04a23cfebfc51d1e4d (patch)
tree36de5f0132177b5484c4d20e9f1a7af2124f8008 /crypto/openssl
parente5eec05ed2adc93d1280840414991841ef92f5e9 (diff)
downloadFreeBSD-src-1ee7c30aa948b02c27643a04a23cfebfc51d1e4d.zip
FreeBSD-src-1ee7c30aa948b02c27643a04a23cfebfc51d1e4d.tar.gz
Unbreak detection of cryptodev support for FreeBSD which was broken
with OpenSSL 0.9.8 import. Note that this does not enable cryptodev by default, as it was the case with OpenSSL 0.9.7 in FreeBSD base, but this change makes it possible to enable cryptodev at all. This has been submitted upstream as: http://rt.openssl.org/Ticket/Display.html?id=1624 Submitted by: nork
Diffstat (limited to 'crypto/openssl')
-rw-r--r--crypto/openssl/crypto/engine/eng_cryptodev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/engine/eng_cryptodev.c b/crypto/openssl/crypto/engine/eng_cryptodev.c
index ab38cd5..4f2ec69 100644
--- a/crypto/openssl/crypto/engine/eng_cryptodev.c
+++ b/crypto/openssl/crypto/engine/eng_cryptodev.c
@@ -25,6 +25,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
+/* $FreeBSD$ */
#include <openssl/objects.h>
#include <openssl/engine.h>
@@ -32,7 +33,7 @@
#include <openssl/bn.h>
#if (defined(__unix__) || defined(unix)) && !defined(USG) && \
- (defined(OpenBSD) || defined(__FreeBSD_version))
+ (defined(OpenBSD) || defined(__FreeBSD__))
#include <sys/param.h>
# if (OpenBSD >= 200112) || ((__FreeBSD_version >= 470101 && __FreeBSD_version < 500000) || __FreeBSD_version >= 500041)
# define HAVE_CRYPTODEV
OpenPOWER on IntegriCloud