summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python3/patches')
-rw-r--r--lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch b/lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch
new file mode 100644
index 000000000..46cfa9b1c
--- /dev/null
+++ b/lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch
@@ -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