f0e05d561147458e3a10b4806e24d0752dfd5d4b |
|
20-Jun-2017 |
Nathan Mittler <nathanmittler@google.com> |
Refactoring session management (#172) This change breaks session management into two distinct types: - SslSessionWrapper: These are created as BoringSSL calls back the new session handler, allowing the application to cache sessions. Clients will also offer these to BoringSSL for reuse if a compatible session was found. BoringSSL is free to use it or not, but the Conscrypt code no longer makes assumptions here. Instead, it always uses the ActiveSession. - ActiveSession: This is a session that wraps the SSL instance (rather than the SSL_SESSION wherever possible). That way no concern has to be paid to what BoringSSL is doing with sessions under the covers. Fixes #98
/external/conscrypt/openjdk/src/test/java/org/conscrypt/NativeRefTest.java
|