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:12 UTC
[tomcat] branch 10.0.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 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new ccfc05c Prompted by CI failures, run unit tests with TLSv1.2 as a minimum
ccfc05c is described below
commit ccfc05c95cfa25bcc907ff9bfd8c6055be97f42d
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 b1fca54..093c430 100644
--- a/test/org/apache/tomcat/util/net/TesterSupport.java
+++ b/test/org/apache/tomcat/util/net/TesterSupport.java
@@ -202,9 +202,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