• Chad Brubaker's avatar
    Add Platform adapter around unbundled conscrypt · 62190cd4
    Chad Brubaker authored
    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
    62190cd4
build.gradle 460 Bytes