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
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 <ardeleanalex@gmail.com>
|
Changelog v1 -> v2:
|
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>
|
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 <ardeleanalex@gmail.com> (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com>
|
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 <ardeleanalex@gmail.com>. (cherry picked from commit b3a271f) Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com>
|
GH-9353 is a backport of this pull request to the 2.7 branch. |
|
@commodo I took care of the backport |
|
Cool |
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> https://bugs.python.org/issue34710
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
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.hheader 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 ardeleanalex@gmail.com
https://bugs.python.org/issue34710