summaryrefslogtreecommitdiff
path: root/security/openssl/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-04 18:22:34 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-04 18:22:34 +0000
commit3c0cc81cb8ee9b590207616fb0cf85236dc1d54d (patch)
treed06e0b3795fb6c3d0d12004d03b5779e482f4a10 /security/openssl/files
parentUpdate net/krdesktop to version 1.7. (diff)
- Fix: FreeBSD 470101 don't has a crytodevice.
Problem noted by: jarnold@knightridder.com
Diffstat (limited to 'security/openssl/files')
-rw-r--r--security/openssl/files/patch-hw_cryptodev.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/openssl/files/patch-hw_cryptodev.c b/security/openssl/files/patch-hw_cryptodev.c
new file mode 100644
index 000000000000..786fbfda315b
--- /dev/null
+++ b/security/openssl/files/patch-hw_cryptodev.c
@@ -0,0 +1,11 @@
+--- crypto/engine/hw_cryptodev.c.orig Thu Jan 23 09:10:07 2003
++++ crypto/engine/hw_cryptodev.c Mon Aug 4 05:39:28 2003
+@@ -35,7 +35,7 @@
+
+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
+ #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
+ # endif
+ # if (OpenBSD >= 200110)