-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/openssl-unsafe: Unbreak with FreeBSD 13
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
security/openssl-unsafe/files/patch-crypto_engine_eng__cryptodev.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- crypto/engine/eng_cryptodev.c.orig 2017-07-06 01:00:00 UTC | ||
+++ crypto/engine/eng_cryptodev.c | ||
@@ -35,7 +35,7 @@ | ||
#if (defined(__unix__) || defined(unix)) && !defined(USG) && \ | ||
(defined(OpenBSD) || defined(__FreeBSD__)) | ||
# 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 && __FreeBSD_version < 1300000)) | ||
# define HAVE_CRYPTODEV | ||
# endif | ||
# if (OpenBSD >= 200110) |