am 405d4db5: Rename internal SSLParameters to SSLParametersImpl to avoid collision with new javax.net.ssl.SSLParameters
Merge commit '405d4db50b3db1fc5e015475218e190d193332d4' into gingerbread-plus-aosp * commit '405d4db50b3db1fc5e015475218e190d193332d4': Rename internal SSLParameters to SSLParametersImpl to avoid collision with new javax.net.ssl.SSLParameters
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.OpenSSLSocketImpl;
|
||||
import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
|
||||
import org.apache.harmony.xnet.provider.jsse.SSLParameters;
|
||||
|
||||
/**
|
||||
* SSLSocketFactory implementation with several extra features:
|
||||
|
||||
@@ -19,7 +19,7 @@ package android.net.http;
|
||||
|
||||
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;
|
||||
|
||||
@@ -191,7 +191,7 @@ class CertificateChainValidator {
|
||||
// report back to the user.
|
||||
//
|
||||
try {
|
||||
SSLParameters.getDefaultTrustManager().checkServerTrusted(
|
||||
SSLParametersImpl.getDefaultTrustManager().checkServerTrusted(
|
||||
newServerCertificates, "RSA");
|
||||
|
||||
// no errors!!!
|
||||
|
||||
Reference in New Issue
Block a user