summaryrefslogtreecommitdiff
path: root/dev-lang/python/files/patch-Modules__ssl_c
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-13 22:21:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-13 22:21:26 -0500
commitf997c3ee588099e4f43e9ec845935868e3e60b8e (patch)
tree07f0967cda575ee2edf2d62ed8c0f67855ae6bd3 /dev-lang/python/files/patch-Modules__ssl_c
parentb589bc93e15b300c3e5318fe97241d57e464bea1 (diff)
downloadbaldeagleos-repo-f997c3ee588099e4f43e9ec845935868e3e60b8e.tar.gz
baldeagleos-repo-f997c3ee588099e4f43e9ec845935868e3e60b8e.tar.xz
baldeagleos-repo-f997c3ee588099e4f43e9ec845935868e3e60b8e.zip
Adding metadata
Diffstat (limited to 'dev-lang/python/files/patch-Modules__ssl_c')
-rw-r--r--dev-lang/python/files/patch-Modules__ssl_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-lang/python/files/patch-Modules__ssl_c b/dev-lang/python/files/patch-Modules__ssl_c
new file mode 100644
index 000000000000..53adf4457336
--- /dev/null
+++ b/dev-lang/python/files/patch-Modules__ssl_c
@@ -0,0 +1,12 @@
+Index: Modules/_ssl.c
+--- Modules/_ssl.c.orig
++++ Modules/_ssl.c
+@@ -4541,7 +4541,7 @@ set_sni_callback(PySSLContext *self, PyObject *arg, vo
+ 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;