summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-17 12:19:08 (GMT)
committerGitHub <noreply@github.com>2018-09-17 12:19:08 (GMT)
commitfff869e2a0ee3d2d65973d82e57f05479828f5a3 (patch)
tree9c5757aeaaadb7c75d82b0eaab1928a20fb6396d /Modules/_ssl.c
parentf35e4d5851555d66f1e7a36b2a37f0d82b3d1706 (diff)
downloadcpython-fff869e2a0ee3d2d65973d82e57f05479828f5a3.zip
cpython-fff869e2a0ee3d2d65973d82e57f05479828f5a3.tar.gz
cpython-fff869e2a0ee3d2d65973d82e57f05479828f5a3.tar.bz2
bpo-34710: fix SSL module build (GH-9347)
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> (cherry picked from commit b3a271fc0ce3e13e427be8914decfc205a220ca8) Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index e0c7dfb..99f24a5 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -78,6 +78,7 @@ static PySocketModule_APIObject PySocketModule;
#include "openssl/err.h"
#include "openssl/rand.h"
#include "openssl/bio.h"
+#include "openssl/dh.h"
/* SSL error object */
static PyObject *PySSLErrorObject;