diff options
Diffstat (limited to 'lang/python310/files/libressl/patch-Modules___ssl.c')
-rw-r--r-- | lang/python310/files/libressl/patch-Modules___ssl.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python310/files/libressl/patch-Modules___ssl.c b/lang/python310/files/libressl/patch-Modules___ssl.c new file mode 100644 index 000000000000..fddf9209390c --- /dev/null +++ b/lang/python310/files/libressl/patch-Modules___ssl.c @@ -0,0 +1,11 @@ +--- Modules/_ssl.c.orig 2025-04-08 12:10:59 UTC ++++ Modules/_ssl.c +@@ -4529,7 +4529,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; |