File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
api/src/test/java/com/ning/http/client/async Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2010 Ning, Inc.
2
+ * Copyright 2010-2013 Ning, Inc.
3
3
*
4
4
* Ning licenses this file to you under the Apache License, version 2.0
5
5
* (the "License"); you may not use this file except in compliance with the
@@ -72,11 +72,11 @@ private SSLContext getSSLContext() throws GeneralSecurityException {
72
72
73
73
private static class MockTrustManager implements X509TrustManager {
74
74
public X509Certificate [] getAcceptedIssuers () {
75
- throw new UnsupportedOperationException () ;
75
+ return null ;
76
76
}
77
77
78
78
public void checkClientTrusted (final X509Certificate [] chain , final String authType ) throws CertificateException {
79
- throw new UnsupportedOperationException ();
79
+ // do nothing.
80
80
}
81
81
82
82
public void checkServerTrusted (final X509Certificate [] chain , final String authType ) throws CertificateException {
You can’t perform that action at this time.
0 commit comments