diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2018-09-17 11:53:31 (GMT) |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2018-09-17 11:53:31 (GMT) |
commit | b3a271fc0ce3e13e427be8914decfc205a220ca8 (patch) | |
tree | 6a64447779f5f7251d9c5d0f8a39949d40002208 /Modules/_ssl.c | |
parent | e0e5065daef36dafe10a46eaa8b7800274d73062 (diff) | |
download | cpython-b3a271fc0ce3e13e427be8914decfc205a220ca8.zip cpython-b3a271fc0ce3e13e427be8914decfc205a220ca8.tar.gz cpython-b3a271fc0ce3e13e427be8914decfc205a220ca8.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>
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 2bce481..3c93884 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 |