https://github.com/python/cpython/commit/1b49c8c71b90bfa97df5633e2bbf51d4a6e22a57 commit: 1b49c8c71b90bfa97df5633e2bbf51d4a6e22a57 branch: main author: Collin Funk <collin.fu...@gmail.com> committer: serhiy-storchaka <storch...@gmail.com> date: 2025-04-11T15:35:12+03:00 summary:
gh-131127: Minimal build support on systems using LibreSSL (GH-131128) files: A Misc/NEWS.d/next/Library/2025-03-11-21-08-46.gh-issue-131127.whcVdY.rst M Modules/_ssl.c diff --git a/Misc/NEWS.d/next/Library/2025-03-11-21-08-46.gh-issue-131127.whcVdY.rst b/Misc/NEWS.d/next/Library/2025-03-11-21-08-46.gh-issue-131127.whcVdY.rst new file mode 100644 index 00000000000000..e8dfbf5f423ce3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2025-03-11-21-08-46.gh-issue-131127.whcVdY.rst @@ -0,0 +1 @@ +Systems using LibreSSL now successfully build. diff --git a/Modules/_ssl.c b/Modules/_ssl.c index e6bfbe46add9e9..03165ec1f3c71f 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -4812,7 +4812,7 @@ _ssl__SSLContext_sni_callback_set_impl(PySSLContext *self, PyObject *value) return 0; } -#if OPENSSL_VERSION_NUMBER < 0x30300000L +#if OPENSSL_VERSION_NUMBER < 0x30300000L && !defined(LIBRESSL_VERSION_NUMBER) static X509_OBJECT *x509_object_dup(const X509_OBJECT *obj) { int ok; _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com