-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-34710: fix SSL module build #9347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Not sure if this fails on all SSL versions. This was found while building OpenWrt with Python 3.7.0 on x86 & OpenSSL 1.0.2p. The `dh.h` header is included in several files, but it doesn't seem to be included in the ones that are included in `_ssl.c` (as far as I could tell). Signed-off-by: Alexandru Ardelean <[email protected]>
Changelog v1 -> v2:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <[email protected]>
GH-9351 is a backport of this pull request to the 3.7 branch. |
GH-9352 is a backport of this pull request to the 3.6 branch. |
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <[email protected]>
Sorry, @commodo and @tiran, I could not cleanly backport this to |
That was fast. @tiran - are you doing the cherry-pick to 2.7 or shall I ? |
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <[email protected]>. (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <[email protected]>
GH-9353 is a backport of this pull request to the 2.7 branch. |
@commodo I took care of the backport |
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <[email protected]>
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <[email protected]>
Cool |
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <[email protected]>. (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <[email protected]> https://bugs.python.org/issue34710
Not sure if this fails on all SSL versions. This was found while building
OpenWrt with Python 3.7.0 on x86 & OpenSSL 1.0.2p.
The
dh.h
header is included in several files, but it doesn't seem to beincluded in the ones that are included in
_ssl.c
(as far as I couldtell).
Signed-off-by: Alexandru Ardelean [email protected]
https://bugs.python.org/issue34710