Skip to content

[3.15] gh-154053: Fix compilation of the ssl module against LibreSSL (GH-154054) - #154075

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-39b058f-3.15
Jul 19, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-39b058f-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

LibreSSL does not provide SSL_CTX_set1_sigalgs_list() or
SSL_CTX_set1_client_sigalgs_list(), added in gh-138252, so _ssl failed to
compile against LibreSSL on 3.15+. Guard the set_server_sigalgs() and
set_client_sigalgs() methods so they raise NotImplementedError on LibreSSL,
and skip the corresponding tests.
(cherry picked from commit 39b058f)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…ythonGH-154054)

LibreSSL does not provide SSL_CTX_set1_sigalgs_list() or
SSL_CTX_set1_client_sigalgs_list(), added in pythongh-138252, so _ssl failed to
compile against LibreSSL on 3.15+. Guard the set_server_sigalgs() and
set_client_sigalgs() methods so they raise NotImplementedError on LibreSSL,
and skip the corresponding tests.
(cherry picked from commit 39b058f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants