summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-08-04 18:22:34 +0000
committerdinoex <dinoex@FreeBSD.org>2003-08-04 18:22:34 +0000
commit524983c4271defcd295caf7bb46c902a2dbfb35a (patch)
tree97eed5621acf1a753c461408fd98b72c66ba7276 /security
parenta3ccd82e0f73d73a0b1fb9615d8cfcc9bae131f5 (diff)
downloadFreeBSD-ports-524983c4271defcd295caf7bb46c902a2dbfb35a.zip
FreeBSD-ports-524983c4271defcd295caf7bb46c902a2dbfb35a.tar.gz
- Fix: FreeBSD 470101 don't has a crytodevice.
Problem noted by: jarnold@knightridder.com
Diffstat (limited to 'security')
-rw-r--r--security/openssl-beta/files/patch-hw_cryptodev.c11
-rw-r--r--security/openssl/files/patch-hw_cryptodev.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/security/openssl-beta/files/patch-hw_cryptodev.c b/security/openssl-beta/files/patch-hw_cryptodev.c
new file mode 100644
index 0000000..786fbfd
--- /dev/null
+++ b/security/openssl-beta/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)
diff --git a/security/openssl/files/patch-hw_cryptodev.c b/security/openssl/files/patch-hw_cryptodev.c
new file mode 100644
index 0000000..786fbfd
--- /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)
OpenPOWER on IntegriCloud