7140d87e131c800f8832a0ad6b35e825f5e9383a |
|
06-Jun-2017 |
Nathan Mittler <nathanmittler@google.com> |
Conformance fixes for the engine-based socket. (#202) This allows the SSLSocketTest to pass with the engine-based socket enabled. Also restructuring the inheritance hierarchy so that the FD and engine sockets both behave the same way (both either wrappers or not). The restructure involves the following: - AbstractConscryptSocket: New base class for both sockets. It handles the wrap/no-wrap logic. - OpenSSLSocketImplWrapper: deleted and replaced by AbstractConscryptSocket. - OpenSSLSocketImpl: reduced to a public shim class between AbstractConscryptSocket and the implementations. For backward-compat only. - ConscryptFileDescriptorSocket: Renamed from OpenSSLSocketImpl. The old FD socket.
/external/conscrypt/common/src/main/java/org/conscrypt/ConscryptServerSocket.java
|