You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/09/24 18:22:37 UTC
[tomcat] branch 8.5.x updated: Add support for OpenSSL 3.1.x to
unit tests
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new d994418 Add support for OpenSSL 3.1.x to unit tests
d994418 is described below
commit d994418b581938ba5f444414bbd16de2551f42c4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 24 19:19:08 2021 +0100
Add support for OpenSSL 3.1.x to unit tests
---
test/org/apache/tomcat/util/net/openssl/ciphers/TesterOpenSSL.java | 7 +++++--
1 file changed, 5 insertions(+), 2 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 9dafe46..cc91d47 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,10 @@ public class TesterOpenSSL {
} catch (IOException e) {
versionString = "";
}
- if (versionString.startsWith("OpenSSL 3.0.0")) {
+ if (versionString.startsWith("OpenSSL 3.1.0")) {
+ // Note: Gump currently tests 10.x with OpenSSL 3.1.x
+ VERSION = 30100;
+ } else if (versionString.startsWith("OpenSSL 3.0.0")) {
// Note: Gump currently tests 10.x with OpenSSL 3.0.x
VERSION = 30000;
} else if (versionString.startsWith("OpenSSL 1.1.1")) {
@@ -337,7 +340,7 @@ public class TesterOpenSSL {
// Explicit OpenSSL path may also need explicit lib path
// (e.g. Gump needs this)
openSSLLibPath = openSSLPath.substring(0, openSSLPath.lastIndexOf('/'));
- openSSLLibPath = openSSLLibPath + "/../lib:" + openSSLLibPath + "/../lib64";
+ openSSLLibPath = openSSLLibPath + "/../:" + openSSLLibPath + "/../lib:" + openSSLLibPath + "/../lib64";
}
List<String> cmd = new ArrayList<>();
cmd.add(openSSLPath);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org