DescriptionStop calling SSL_get_session in SSLClientSocketImpl.
In TLS 1.3, sessions are post-handshake, so they must only come in the
callback. This change is a no-op in TLS 1.2.
Also update the key_exchange_info to use the new SSL-based APIs. Otherwise
calling GetSSLInfo during a renegotiation may have problems. The SSL-based
APIs internally also have the same problem, but we can fix that while we
can't change SSL_get_session's behavior.
BUG=630149
Committed: https://crrev.com/c269cc4baed868b167ad45838b4cc1ea6492b866
Cr-Commit-Position: refs/heads/master@{#408125}
Patch Set 1 #
Messages
Total messages: 17 (8 generated)
|