* commit 'd8c32164e19d16cf7d66b9aee368369ae16a4f0d': Adjust to the change in the private SSLParameterImpl API.
This commit is contained in:
@@ -138,7 +138,7 @@ public class CertificateChainValidator {
|
|||||||
public static void handleTrustStorageUpdate() {
|
public static void handleTrustStorageUpdate() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
X509TrustManager x509TrustManager = SSLParametersImpl.getDefaultTrustManager();
|
X509TrustManager x509TrustManager = SSLParametersImpl.getDefaultX509TrustManager();
|
||||||
if( x509TrustManager instanceof TrustManagerImpl ) {
|
if( x509TrustManager instanceof TrustManagerImpl ) {
|
||||||
TrustManagerImpl trustManager = (TrustManagerImpl) x509TrustManager;
|
TrustManagerImpl trustManager = (TrustManagerImpl) x509TrustManager;
|
||||||
trustManager.handleTrustStorageUpdate();
|
trustManager.handleTrustStorageUpdate();
|
||||||
@@ -175,7 +175,7 @@ public class CertificateChainValidator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
X509TrustManager x509TrustManager = SSLParametersImpl.getDefaultTrustManager();
|
X509TrustManager x509TrustManager = SSLParametersImpl.getDefaultX509TrustManager();
|
||||||
if (x509TrustManager instanceof TrustManagerImpl) {
|
if (x509TrustManager instanceof TrustManagerImpl) {
|
||||||
TrustManagerImpl trustManager = (TrustManagerImpl) x509TrustManager;
|
TrustManagerImpl trustManager = (TrustManagerImpl) x509TrustManager;
|
||||||
trustManager.checkServerTrusted(chain, authType, domain);
|
trustManager.checkServerTrusted(chain, authType, domain);
|
||||||
|
|||||||
Reference in New Issue
Block a user