62190cd439f163c7a53604b01836a576ef88013a |
|
03-Apr-2015 |
Chad Brubaker <cbrubaker@google.com> |
Add Platform adapter around unbundled conscrypt This wraps the conscrypt OpenSSLSocketImpl with an adapter that is a subclass of the platform's OpenSSLSocketImpl in order to support old code that does casts to the platform OpenSSLSocketImpl in order to set things like SNI. Until KK the platform OpenSSLSocketImpl was org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl, in KK it became com.android.org.conscrypt.OpenSSLSocketImpl. As of L MR1 the platform HTTP stack no longer casts to the platform OpenSSLSocketImpl and this work around is not needed on those devices. Change-Id: I196ad957eabfc70246d9c01aa12855a8eab036f0
/external/conscrypt/src/compat/java/org/conscrypt/KitKatPlatformOpenSSLSocketImplAdapter.java
|