pyopenssl
pyopenssl copied to clipboard
#1275 Add OpenSSL.SSL.Connection.session_reused API.
Scope
Fixes #1275
This add the SSL.Connection API added in https://github.com/pyca/cryptography/issues/9969
Changes
Add the API as int, not at boolean. Maybe it should be boolean.
Add tests for TLS 1.2 and TLS 1.3
In TLS 1.3 the master key is not the same for reused session.
Still WIP