aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-08-05 02:22:34 +0800
committerdinoex <dinoex@FreeBSD.org>2003-08-05 02:22:34 +0800
commit524983c4271defcd295caf7bb46c902a2dbfb35a (patch)
tree97eed5621acf1a753c461408fd98b72c66ba7276 /security/openssl
parenta3ccd82e0f73d73a0b1fb9615d8cfcc9bae131f5 (diff)
downloadfreebsd-ports-gnome-524983c4271defcd295caf7bb46c902a2dbfb35a.tar.gz
freebsd-ports-gnome-524983c4271defcd295caf7bb46c902a2dbfb35a.tar.zst
freebsd-ports-gnome-524983c4271defcd295caf7bb46c902a2dbfb35a.zip
- Fix: FreeBSD 470101 don't has a crytodevice.
Problem noted by: jarnold@knightridder.com
Diffstat (limited to 'security/openssl')
-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)