MCPcopy Create free account
hub / github.com/0x727/DropLabTools / verify

Method verify

src/main/java/com/droplab/Utils/HttpUtils.java:392–394  ·  view source on GitHub ↗
(String hostname, SSLSession session)

Source from the content-addressed store, hash-verified

390 HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
391
392 public boolean verify(String hostname, SSLSession session) {
393 return true;
394 }
395 });
396 SSLContext context = SSLContext.getInstance("TLS");
397 context.init(null, new X509TrustManager[] { new X509TrustManager() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected