Issue 43799: OpenSSL 3.0.0: define OPENSSL_API_COMPAT 1.1.1
Created on 2021-04-10 09:34 by christian.heimes, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 25329 | merged | christian.heimes, 2021-04-10 09:38 | |
| PR 25382 | merged | miss-islington, 2021-04-13 06:18 | |
| PR 25383 | merged | christian.heimes, 2021-04-13 06:44 | |
| PR 25481 | merged | christian.heimes, 2021-04-20 12:32 | |
| Messages (7) | |||
|---|---|---|---|
| msg390706 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2021-04-10 09:34 | |
OpenSSL 1.1 introduced the macro OPENSSL_API_COMPAT to select which APIs are exposed and which deprecation warnings are shown. https://www.openssl.org/docs/manmaster/man7/OPENSSL_API_COMPAT.html "#define OPENSSL_API_COMPAT 0x10101000L" suppresses warnings for APIs that are available in 1.1.1 and deprecated in 3.0.0. |
|||
| msg390839 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2021-04-12 11:54 | |
OpenSSL 1.0.2, 1.1.0, 1.1.1 and 3.0.0 behave slightly differently. For example I'm still getting a warning with 1.1.0. Only 3.0.0 supports OPENSSL_NO_DEPRECATED. After multiple failed attempts I decided to set the API level to 1.1.1 and define the three TLSv*_method() functions explicitly. It's not the most elegant approach but it works. The symbols are available unless OPENSSL_NO_TLS*_METHOD is defined. |
|||
| msg390926 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2021-04-13 06:17 | |
New changeset a4833883c9b81b6b272cc7c5b67fa1658b65304c by Christian Heimes in branch 'master': bpo-43799: OpenSSL 3.0.0: declare OPENSSL_API_COMPAT 1.1.1 (GH-25329) https://github.com/python/cpython/commit/a4833883c9b81b6b272cc7c5b67fa1658b65304c |
|||
| msg390927 - (view) | Author: miss-islington (miss-islington) | Date: 2021-04-13 06:41 | |
New changeset 7d9d5bf863bb0af26b74b0732ab89b2053d2fbec by Miss Islington (bot) in branch '3.9': [3.9] bpo-43799: OpenSSL 3.0.0: declare OPENSSL_API_COMPAT 1.1.1 (GH-25329) (GH-25382) https://github.com/python/cpython/commit/7d9d5bf863bb0af26b74b0732ab89b2053d2fbec |
|||
| msg390930 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2021-04-13 07:09 | |
New changeset b71aaa0df0f3a9640b034b4774651cd8c54d2fb9 by Christian Heimes in branch '3.8': [3.8] bpo-43799: OpenSSL 3.0.0: declare OPENSSL_API_COMPAT 1.1.1 (GH-25329) (GH-25383) https://github.com/python/cpython/commit/b71aaa0df0f3a9640b034b4774651cd8c54d2fb9 |
|||
| msg391447 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2021-04-20 16:10 | |
New changeset 3309113d6131e4bbac570c4f54175ecca02d025a by Christian Heimes in branch 'master': bpo-43799: Also define SSLv3_method() (GH-25481) https://github.com/python/cpython/commit/3309113d6131e4bbac570c4f54175ecca02d025a |
|||
| msg407631 - (view) | Author: Ivan Pozdeev (ivan.pozdeev.gm) | Date: 2021-12-04 03:45 | |
@christian.heimes https://github.com/python/cpython/pull/25481 also needs backporting to 3.9 and 3.8. A Pyenv user has been affected by the "implicit declaration of function ‘SSLv3_method’" compliation error that it fixes in 3.9.9: https://github.com/pyenv/pyenv/issues/2181 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:44 | admin | set | github: 87965 |
| 2021-12-04 03:45:20 | ivan.pozdeev.gm | set | nosy:
+ ivan.pozdeev.gm messages: + msg407631 |
| 2021-04-20 16:10:25 | christian.heimes | set | messages: + msg391447 |
| 2021-04-20 12:32:56 | christian.heimes | set | pull_requests: + pull_request24206 |
| 2021-04-13 07:09:39 | christian.heimes | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2021-04-13 07:09:29 | christian.heimes | set | messages: + msg390930 |
| 2021-04-13 07:08:55 | christian.heimes | link | issue38820 dependencies |
| 2021-04-13 06:44:40 | christian.heimes | set | pull_requests: + pull_request24115 |
| 2021-04-13 06:41:08 | miss-islington | set | messages: + msg390927 |
| 2021-04-13 06:18:02 | miss-islington | set | nosy:
+ miss-islington pull_requests: + pull_request24114 |
| 2021-04-13 06:17:34 | christian.heimes | set | messages: + msg390926 |
| 2021-04-12 11:54:39 | christian.heimes | set | messages: + msg390839 |
| 2021-04-10 09:38:19 | christian.heimes | set | keywords:
+ patch stage: patch review pull_requests: + pull_request24062 |
| 2021-04-10 09:34:20 | christian.heimes | create | |
