You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect call to SSL_CTX_set_session_id_context on client side SSL context #105293
SSL_CTX_set_session_id_context, SSL_set_session_id_context - set context within which session can be reused (server side only)
The session id context becomes part of the session. The session id context is set by the SSL/TLS server. The SSL_CTX_set_session_id_context() and SSL_set_session_id_context() functions are therefore only useful on the server side.
In some circumstances, calling this on a client side socket can result in unexpected behavior. For example TLSv1.3 PSK: #103181 (comment)
The fix for this was originally part of another PR (#103181) @gpshead recommended creating a separate issue/PR
While we could backport this to releases, unless it's actually causing a problem there (the issue has existed forever it seems) lets not bother. It seems most important for your new feature PR.
Activity
pythongh-105293: Do not call SSL_CTX_set_session_id_context on client…
pythongh-105293: Do not call SSL_CTX_set_session_id_context on client…
gh-105293: Do not call SSL_CTX_set_session_id_context on client side …
gpshead commentedon Jul 14, 2023
While we could backport this to releases, unless it's actually causing a problem there (the issue has existed forever it seems) lets not bother. It seems most important for your new feature PR.
pythongh-105293: Do not call SSL_CTX_set_session_id_context on client…