Skip to content

Commit

Permalink
Merge pull request #5 from chkp-royl/master
Browse files Browse the repository at this point in the history
fix source guard
  • Loading branch information
chkp-royl authored Mar 22, 2022
2 parents 264e1f6 + 4bfb904 commit 18c57bc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ 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 @@ -573,7 +574,7 @@ public PasswordAuthentication getPasswordAuthentication()
else {
connection = (HttpsURLConnection) url.openConnection();
}

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

0 comments on commit 18c57bc

Please sign in to comment.