aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2008-01-13 11:44:47 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2008-01-13 11:44:47 +0000
commite262aef1ae1c77e25ee491995e6befc9e60d473e (patch)
tree36de5f0132177b5484c4d20e9f1a7af2124f8008 /crypto
parent6949c01e6b43536f32a184a5fe9560f51f347784 (diff)
downloadsrc-e262aef1ae1c77e25ee491995e6befc9e60d473e.tar.gz
src-e262aef1ae1c77e25ee491995e6befc9e60d473e.zip
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
Notes
Notes: svn path=/head/; revision=175292
Diffstat (limited to 'crypto')
-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 ab38cd52f097..4f2ec6946a38 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