virtuoso-opensource/virtuoso-opensource-7.2.12-openssl-3.2.1.patch

53 lines
2.2 KiB
Diff
Raw Permalink Normal View History

From 9a98bf717275720bc63893e2fdceae127c2a8eb4 Mon Sep 17 00:00:00 2001
From: Patrick van Kleef <pkleef@openlinksw.com>
Date: Thu, 15 Feb 2024 17:08:16 +0100
Subject: [PATCH] Fixed allow building against openssl 3.2.x
---
README.GIT.md | 2 +-
README.md | 2 +-
configure.ac | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.GIT.md b/README.GIT.md
index 676994bd29..06716eac76 100644
--- a/README.GIT.md
+++ b/README.GIT.md
@@ -85,7 +85,7 @@ installed on your system.
| gawk | 3.1.1 | 5.3.0 | http://www.gnu.org/software/gawk/ |
| m4 | 1.4.1 | 1.4.18 | http://www.gnu.org/software/m4/ |
| make | 3.79.1 | 4.2.1 | http://www.gnu.org/software/make/ |
-| OpenSSL | 0.9.8e | 3.1.x | http://www.openssl.org/ |
+| OpenSSL | 0.9.8e | 3.2.x | http://www.openssl.org/ |
and any GNU packages required by these. The autogen.sh and configure
scripts check for the presence and right version of some of the required
diff --git a/README.md b/README.md
index f70035280c..bf5da22fde 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ installed on your system.
| gawk | 3.1.1 | 5.3.0 | http://www.gnu.org/software/gawk/ |
| m4 | 1.4.1 | 1.4.18 | http://www.gnu.org/software/m4/ |
| make | 3.79.1 | 4.2.1 | http://www.gnu.org/software/make/ |
-| OpenSSL | 0.9.8e | 3.1.x | http://www.openssl.org/ |
+| OpenSSL | 0.9.8e | 3.2.x | http://www.openssl.org/ |
and any GNU packages required by these. The autogen.sh and configure
scripts check for the presence and right version of some of the required
diff --git a/configure.ac b/configure.ac
index 600b29056a..721becf792 100644
--- a/configure.ac
+++ b/configure.ac
@@ -914,8 +914,8 @@ then
/* LibreSSL defines OPENSSL_VERSION_NUMBER 0x20000000L but uses a compatible API to OpenSSL v1.0.x */
#elif OPENSSL_VERSION_NUMBER < 0x1020000fL
/* OpenSSL versions 0.9.8e - 1.1.1 are supported */
- #elif OPENSSL_VERSION_NUMBER < 0x30200000L
- /* OpenSSL version 3.1.x is supported */
+ #elif OPENSSL_VERSION_NUMBER < 0x30300000L
+ /* OpenSSL version 3.2.x is supported */
#else
#error OpenSSL version too new
#endif