From 4a4257d4d1a89a1a3010ba99493f4a6b9ebf9640 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 12 Oct 2020 06:43:53 -0500 Subject: [PATCH] Minimal change to setDefaultHostnameVerifier to allow compilation of tests Signed-off-by: Joakim Erdfelt --- .../jetty/alpn/java/client/ConscryptHTTP2ClientTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java b/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java index 1c57340be4f..d383f3ff2e8 100644 --- a/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java +++ b/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java @@ -60,7 +60,7 @@ public class ConscryptHTTP2ClientTest Security.insertProviderAt(new OpenSSLProvider(), 1); SslContextFactory sslContextFactory = new SslContextFactory.Client(); sslContextFactory.setProvider("Conscrypt"); - Conscrypt.setDefaultHostnameVerifier((hostname, session) -> true); + Conscrypt.setDefaultHostnameVerifier((certs, hostname, session) -> true); HTTP2Client client = new HTTP2Client(); try