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

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


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

commit e69d9e7f7481e4e11109cc2f25715c8c4fd1e99d
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 ea235af499..d0d555d9c3 100644
--- a/test/org/apache/tomcat/util/net/TestPQC.java
+++ b/test/org/apache/tomcat/util/net/TestPQC.java
@@ -217,7 +217,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