diff options
| author | Andrew Clayton <a.clayton@nginx.com> | 2025-03-05 18:13:01 +0000 |
|---|---|---|
| committer | Andrew Clayton <a.clayton@nginx.com> | 2025-03-27 23:39:32 +0000 |
| commit | 3b18ffe09370573f81220fda5e924124fcf8f0df (patch) | |
| tree | d9de50a92eb86ec07aca1cc4e8595319568422e1 /src/nxt_devpoll_engine.c | |
| parent | 86868b17d5b0b3b0934eca2445e172380d563803 (diff) | |
| download | unit-3b18ffe09370573f81220fda5e924124fcf8f0df.tar.gz unit-3b18ffe09370573f81220fda5e924124fcf8f0df.tar.bz2 | |
tests: Fix TLS tests with Python 3.13
Python 3.13 sets the VERIFY_X509_STRICT flag by default in
create_default_context().
This breaks our TLS tests with dummy certificates. Remove this flag.
Thanks to @zfouts for the hint about the flag.
As an aside there is another Python 3.13 change which breaks the tests,
in that the cgi module has been removed. However there is a legacy-cgi
module you can install to get things going again (note this module is
unmaintained). E.g. In Fedora 'dnf install python3-legacy-cgi'.
Reported-by: Konstantin Pavlov <thresh@nginx.com>
Closes: https://github.com/nginx/unit/issues/1545
Link: <https://docs.python.org/3/whatsnew/3.13.html#ssl>
Link: <https://docs.python.org/3.13/library/cgi.html>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_devpoll_engine.c')
0 files changed, 0 insertions, 0 deletions
