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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 27490d9ada Improve formatting of version in error message.
27490d9ada is described below

commit 27490d9ada3d8d500fdcd28751a86eae9546ae3c
Author: Mark Thomas <[email protected]>
AuthorDate: Fri May 15 18:03:02 2026 +0100

    Improve formatting of version in error message.
---
 test/org/apache/tomcat/util/net/TestPQC.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/util/net/TestPQC.java 
b/test/org/apache/tomcat/util/net/TestPQC.java
index f889a39c5e..8fd18a9563 100644
--- a/test/org/apache/tomcat/util/net/TestPQC.java
+++ b/test/org/apache/tomcat/util/net/TestPQC.java
@@ -219,7 +219,7 @@ public class TestPQC extends TomcatBaseTest {
                     "PQC requires OpenSSL 3.5+, found version 0x" + 
Integer.toHexString(AprStatus.getOpenSSLVersion()),
                     AprStatus.getOpenSSLVersion() >= 0x30500000);
         } else if ("OpenSSL-FFM".equals(connectorName)) {
-            Assume.assumeTrue("PQC requires OpenSSL 3.5+, found version " + 
OpenSSLStatus.getVersion(),
+            Assume.assumeTrue("PQC requires OpenSSL 3.5+, found version 0x" + 
Long.toHexString(OpenSSLStatus.getVersion()),
                     OpenSSLStatus.getMajorVersion() > 3 ||
                         OpenSSLStatus.getMajorVersion() == 3 && 
OpenSSLStatus.getMinorVersion() >= 5);
         } else {


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

Reply via email to