Files

12 lines
362 B
C
Raw Permalink Normal View History

2025-05-29 11:57:35 -04:00
--- 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;