Skip to content

Commit

Permalink
remove sgignore
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-royl committed Mar 22, 2022
1 parent e441c8d commit d060aa4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,6 @@ public void checkClientTrusted(X509Certificate[] x509Certificates, String s) thr
}

@Override
//sgignore next_line
public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException {

if(x509Certificates.length<1){
Expand Down Expand Up @@ -1037,7 +1036,6 @@ public void checkClientTrusted(X509Certificate[] x509Certificates, String s, Soc
}

@Override
//sgignore next_line
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket)
throws CertificateException {

Expand All @@ -1061,7 +1059,6 @@ public void checkClientTrusted(X509Certificate[] x509Certificates, String s, SSL
}

@Override
//sgignore next_line
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine)
throws CertificateException {
if(x509Certificates.length<1){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,6 @@ private HttpsURLConnection establishConnection(String server, int port) throws E
TrustManager[] trustAllCerts = new TrustManager[]{new X509TrustManager()
{
@Override
//sgignore next_line
public java.security.cert.X509Certificate[] getAcceptedIssuers()
{
return null;
Expand All @@ -540,7 +539,6 @@ public void checkClientTrusted(java.security.cert.X509Certificate[] certs, Strin
}

@Override
//sgignore next_line
public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType) throws CertificateException
{
}
Expand Down Expand Up @@ -576,7 +574,6 @@ public PasswordAuthentication getPasswordAuthentication()
connection = (HttpsURLConnection) url.openConnection();
}

//sgignore next_line
connection.setHostnameVerifier(new HostnameVerifier()
{
@Override
Expand Down

0 comments on commit d060aa4

Please sign in to comment.