Tab police.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1783844 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a9df4780c1
commit
f77bdff541
|
@ -41,11 +41,11 @@ import org.apache.hc.core5.ssl.TrustStrategy;
|
|||
*/
|
||||
public class TrustAllStrategy implements TrustStrategy {
|
||||
|
||||
public static final TrustAllStrategy INSTANCE = new TrustAllStrategy();
|
||||
public static final TrustAllStrategy INSTANCE = new TrustAllStrategy();
|
||||
|
||||
@Override
|
||||
public boolean isTrusted(final X509Certificate[] chain, final String authType) throws CertificateException {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public boolean isTrusted(final X509Certificate[] chain, final String authType) throws CertificateException {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue