Open zaurask opened 5 months ago
The ssl.wrap_socket function was removed in 3.12. This PR migrates ssl.wrap_socket to SSLContext.wrap_socket by recreating the logic already used internally by ssl.wrap_socket when called from pywebsocket3.
Tested by successfully running WPT locally.
Fixes #38.
The ssl.wrap_socket function was removed in 3.12. This PR migrates ssl.wrap_socket to SSLContext.wrap_socket by recreating the logic already used internally by ssl.wrap_socket when called from pywebsocket3.
Tested by successfully running WPT locally.
Fixes #38.