Minimal change to setDefaultHostnameVerifier to allow compilation of tests
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
228758ab29
commit
4a4257d4d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue