mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
Merge pull request #7051 from commodo/python3-fix-ssl-dh-free
python3: fix build with SSL module
This commit is contained in:
@@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION)
|
||||
PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO)
|
||||
|
||||
PKG_NAME:=python3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
|
||||
|
||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
|
||||
index 2bce4816d2..3c93884809 100644
|
||||
--- a/Modules/_ssl.c
|
||||
+++ b/Modules/_ssl.c
|
||||
@@ -63,6 +63,7 @@ static PySocketModule_APIObject PySocketModule;
|
||||
#include "openssl/err.h"
|
||||
#include "openssl/rand.h"
|
||||
#include "openssl/bio.h"
|
||||
+#include "openssl/dh.h"
|
||||
|
||||
#ifndef HAVE_X509_VERIFY_PARAM_SET1_HOST
|
||||
# ifdef LIBRESSL_VERSION_NUMBER
|
||||
Reference in New Issue
Block a user