Commit 5f883fcb authored by Christian Heimes's avatar Christian Heimes Committed by Miss Islington (bot)

[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 b3a271fc)
Co-authored-by: default avatarAlexandru Ardelean <ardeleanalex@gmail.com>



https://bugs.python.org/issue34710
parent afa591d7
Fixed SSL module build with OpenSSL & pedantic CFLAGS.
......@@ -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;
......
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