Rename internal SSLParameters to SSLParametersImpl to avoid collision with new javax.net.ssl.SSLParameters
Bug: 2672817 Change-Id: Ibe20830f024f76232f3628cfca922d49a5a06bef
This commit is contained in:
@@ -49,7 +49,6 @@ import javax.net.ssl.X509TrustManager;
|
|||||||
import org.apache.harmony.xnet.provider.jsse.OpenSSLContextImpl;
|
import org.apache.harmony.xnet.provider.jsse.OpenSSLContextImpl;
|
||||||
import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
|
import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
|
||||||
import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
|
import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
|
||||||
import org.apache.harmony.xnet.provider.jsse.SSLParameters;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SSLSocketFactory implementation with several extra features:
|
* SSLSocketFactory implementation with several extra features:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ package android.net.http;
|
|||||||
|
|
||||||
import com.android.internal.net.DomainNameValidator;
|
import com.android.internal.net.DomainNameValidator;
|
||||||
|
|
||||||
import org.apache.harmony.xnet.provider.jsse.SSLParameters;
|
import org.apache.harmony.xnet.provider.jsse.SSLParametersImpl;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
@@ -191,7 +191,7 @@ class CertificateChainValidator {
|
|||||||
// report back to the user.
|
// report back to the user.
|
||||||
//
|
//
|
||||||
try {
|
try {
|
||||||
SSLParameters.getDefaultTrustManager().checkServerTrusted(
|
SSLParametersImpl.getDefaultTrustManager().checkServerTrusted(
|
||||||
newServerCertificates, "RSA");
|
newServerCertificates, "RSA");
|
||||||
|
|
||||||
// no errors!!!
|
// no errors!!!
|
||||||
|
|||||||
Reference in New Issue
Block a user