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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]