mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
lang/python310: fix build with LibreSSL
No need to expose x509_object_dup()
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user