Commit b3a271fc authored by Alexandru Ardelean's avatar Alexandru Ardelean Committed by Christian Heimes

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: default avatarAlexandru Ardelean <ardeleanalex@gmail.com>
parent e0e5065d
Fixed SSL module build with OpenSSL & pedantic CFLAGS.
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment