Skip to content

Commit

Permalink
net-analyzer/flow-tools: Remove LibreSSL patch
Browse files Browse the repository at this point in the history
This also fixes the build with libressl-3.5.x from the gentoo overlay.

Signed-off-by: orbea <orbea@riseup.net>
Closes: #26240
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
orbea authored and thesamesam committed Jul 10, 2022
1 parent 96f4197 commit 7d22d15
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions net-analyzer/flow-tools/files/flow-tools-0.68.5.1-openssl11.patch
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
--- a/lib/ftxlate.c
+++ b/lib/ftxlate.c
@@ -34,6 +34,14 @@
#include <openssl/ssl.h>
#include <openssl/evp.h>
#undef free_func
+
+/* fixup LibreSSL OpenSSL version numbering */
+#include <openssl/opensslv.h>
+#if (defined LIBRESSL_VERSION_NUMBER && OPENSSL_VERSION_NUMBER == 0x20000000L)
+#undef OPENSSL_VERSION_NUMBER
+#define OPENSSL_VERSION_NUMBER 0x1000107fL
+#endif
+
#endif /* HAVE_OPENSSL */

#include <sys/time.h>
@@ -2040,11 +2048,13 @@


Expand Down

0 comments on commit 7d22d15

Please sign in to comment.