summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2018-09-17 06:42:30 -0700
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-17 06:42:30 -0700
commit5f883fcb9b50b8335953b3849b7f224d5cd59d56 (patch)
tree7384ce65aa67604e26973820104c7bace5d7338a /Modules
parentafa591d7748c66831e6e650108024f3293be33f1 (diff)
downloadcpython-git-5f883fcb9b50b8335953b3849b7f224d5cd59d56.tar.gz
[2.7] bpo-34710: fix SSL module build (GH-9347) (GH-9353)
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> https://bugs.python.org/issue34710
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index d0ce913d3d..a96c419260 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -74,6 +74,7 @@
#include "openssl/ssl.h"
#include "openssl/err.h"
#include "openssl/rand.h"
+#include "openssl/dh.h"
/* SSL error object */
static PyObject *PySSLErrorObject;