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

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new c2881f1  Move TestResolverSSL to the rewrite tests
c2881f1 is described below

commit c2881f1ac9602accc46c942f26a30a02eb93ace3
Author: remm <r...@apache.org>
AuthorDate: Thu Jun 4 14:13:40 2020 +0200

    Move TestResolverSSL to the rewrite tests
    
    Where it really belongs.
---
 .../util/net => catalina/valves/rewrite}/TestResolverSSL.java        | 5 ++---
 test/org/apache/tomcat/util/net/TesterSupport.java                   | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/tomcat/util/net/TestResolverSSL.java 
b/test/org/apache/catalina/valves/rewrite/TestResolverSSL.java
similarity index 97%
rename from test/org/apache/tomcat/util/net/TestResolverSSL.java
rename to test/org/apache/catalina/valves/rewrite/TestResolverSSL.java
index d58c3bc..d57d740 100644
--- a/test/org/apache/tomcat/util/net/TestResolverSSL.java
+++ b/test/org/apache/catalina/valves/rewrite/TestResolverSSL.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.tomcat.util.net;
+package org.apache.catalina.valves.rewrite;
 
 import java.io.IOException;
 import java.io.PrintWriter;
@@ -30,9 +30,8 @@ import org.apache.catalina.connector.Response;
 import org.apache.catalina.startup.Tomcat;
 import org.apache.catalina.startup.TomcatBaseTest;
 import org.apache.catalina.valves.ValveBase;
-import org.apache.catalina.valves.rewrite.Resolver;
-import org.apache.catalina.valves.rewrite.ResolverImpl;
 import org.apache.tomcat.util.buf.ByteChunk;
+import org.apache.tomcat.util.net.TesterSupport;
 
 public class TestResolverSSL extends TomcatBaseTest {
 
diff --git a/test/org/apache/tomcat/util/net/TesterSupport.java 
b/test/org/apache/tomcat/util/net/TesterSupport.java
index 71550c1..ff5c2a4 100644
--- a/test/org/apache/tomcat/util/net/TesterSupport.java
+++ b/test/org/apache/tomcat/util/net/TesterSupport.java
@@ -250,7 +250,7 @@ public final class TesterSupport {
         return true;
     }
 
-    protected static void configureClientCertContext(Tomcat tomcat) {
+    public static void configureClientCertContext(Tomcat tomcat) {
         TesterSupport.initSsl(tomcat);
 
         /* When running on Java 11, TLSv1.3 is enabled by default. The JSSE


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to