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/11/11 20:46:25 UTC
[tomcat] branch 8.5.x updated: Prompted by CI failures,
run unit tests with TLSv1.2 as a minimum
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 5b9729b Prompted by CI failures, run unit tests with TLSv1.2 as a minimum
5b9729b is described below
commit 5b9729beefdba83f6ca62a8a21cc010f58a33c4f
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Nov 11 20:45:49 2021 +0000
Prompted by CI failures, run unit tests with TLSv1.2 as a minimum
---
test/org/apache/tomcat/util/net/TesterSupport.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/tomcat/util/net/TesterSupport.java b/test/org/apache/tomcat/util/net/TesterSupport.java
index ae5a7d2..2f13295 100644
--- a/test/org/apache/tomcat/util/net/TesterSupport.java
+++ b/test/org/apache/tomcat/util/net/TesterSupport.java
@@ -199,9 +199,9 @@ public final class TesterSupport {
try {
SSLContext sc;
if (TesterSupport.TLSV13_AVAILABLE) {
- sc = SSLContext.getInstance("TLSv1.3");
+ sc = SSLContext.getInstance(Constants.SSL_PROTO_TLSv1_3);
} else {
- sc = SSLContext.getInstance(Constants.SSL_PROTO_TLS);
+ sc = SSLContext.getInstance(Constants.SSL_PROTO_TLSv1_2);
}
sc.init(TesterSupport.getUser1KeyManagers(),
TesterSupport.getTrustManagers(),
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org