10000 [2.7] bpo-34710: fix SSL module build (GH-9347) · tiran/cpython@c9b1928 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9b1928

Browse files
commodotiran
authored andcommitted
[2.7] bpo-34710: fix SSL module build (pythonGH-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 b3a271f) Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com>
1 parent 57e70d3 commit c9b1928

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed SSL module build with OpenSSL & pedantic CFLAGS.

Modules/_ssl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
#include "openssl/ssl.h"
7575
#include "openssl/err.h"
7676
#include "openssl/rand.h"
77+
#include "openssl/dh.h"
7778

7879
/* SSL error object */
7980
static PyObject *PySSLErrorObject;

0 commit comments

Comments
 (0)
0