This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 8ea5228e8a27790e9ab0190aaee044784c48ec06
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Dec 8 17:47:51 2025 +0000

    OpenSSL master branch is for 4.0.x
---
 .../org/apache/tomcat/util/net/openssl/ciphers/TesterOpenSSL.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/tomcat/util/net/openssl/ciphers/TesterOpenSSL.java 
b/test/org/apache/tomcat/util/net/openssl/ciphers/TesterOpenSSL.java
index 0b8713eec8..1c1cf5a307 100644
--- a/test/org/apache/tomcat/util/net/openssl/ciphers/TesterOpenSSL.java
+++ b/test/org/apache/tomcat/util/net/openssl/ciphers/TesterOpenSSL.java
@@ -49,7 +49,9 @@ public class TesterOpenSSL {
         } catch (IOException ioe) {
             versionString = "";
         }
-        if (versionString.startsWith("OpenSSL 3.6.")) {
+        if (versionString.startsWith("OpenSSL 4.0.")) {
+            VERSION = 40000;
+        } else if (versionString.startsWith("OpenSSL 3.6.")) {
             VERSION = 30600;
         } else if (versionString.startsWith("OpenSSL 3.5.")) {
             VERSION = 30500;
@@ -58,12 +60,10 @@ public class TesterOpenSSL {
         } else if (versionString.startsWith("OpenSSL 3.3.")) {
             // Note: Gump currently tests 10.x with OpenSSL 3.3.x
             VERSION = 30300;
-        } else if (versionString.startsWith("OpenSSL 3.2.")) {
-            VERSION = 30200;
         } else if (versionString.startsWith("OpenSSL 3.0.")) {
             VERSION = 30000;
         } else {
-            // Note: 3.1.x is no longer supported by OpenSSL
+            // Note: 3.2.x and 3.1.x are no longer supported by OpenSSL
             // Note: Release branches 1.1.1 and earlier are no longer 
supported by
             //       the OpenSSL team so these tests don't support them either.
             VERSION = -1;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to