summaryrefslogtreecommitdiffstatshomepage
path: root/tests/net_inet/ssl_errors.py
Commit message (Collapse)AuthorAge
* tests: Update SSL network tests to use SSLContext, and work on CPython.Damien George2023-12-12
| | | | | | | | | | | | Changes are: - use ssl.SSLContext.wrap_socket instead of ssl.wrap_socket - disable check_hostname and call load_default_certs() where appropriate, to get CPython to run the tests correctly - pass socket.AF_INET to getaddrinfo and socket.socket(), to force IPv4 - change tests to use github.com instead of google.com, because certificate validation was failing with google.com Signed-off-by: Damien George <damien@micropython.org>
* tests: Replace umodule with module everywhere.Jim Mussared2023-06-08
| | | | | | This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* tests: Use .errno instead of .args[0] for OSError exceptions.Damien George2021-04-23
| | | | Signed-off-by: Damien George <damien@micropython.org>
* extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking.Thorsten von Eicken2021-02-17
Also fix related problems with socket on esp32, improve docs for wrap_socket, and add more tests.