summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-12-12 11:44:53 (GMT)
committerGitHub <noreply@github.com>2024-12-12 11:44:53 (GMT)
commit2a7866387077cd5d550bfd42ff7c3409236463c8 (patch)
tree17670eb6e857dd116954dcd3d11b4d58d928c549 /Python/pythonrun.c
parent8b24d042b4d23700f873c23f78cee0972ad24f62 (diff)
downloadcpython-2a7866387077cd5d550bfd42ff7c3409236463c8.zip
cpython-2a7866387077cd5d550bfd42ff7c3409236463c8.tar.gz
cpython-2a7866387077cd5d550bfd42ff7c3409236463c8.tar.bz2
[3.13] gh-127257: ssl: Raise OSError for ERR_LIB_SYS (GH-127361) (GH-127812)
gh-127257: ssl: Raise OSError for ERR_LIB_SYS (GH-127361) From the ERR_raise manpage: ERR_LIB_SYS This "library code" indicates that a system error is being reported. In this case, the reason code given to `ERR_raise()` and `ERR_raise_data()` *must* be `errno(3)`. This PR only handles ERR_LIB_SYS for the high-lever error types SSL_ERROR_SYSCALL and SSL_ERROR_SSL, i.e., not the ones where OpenSSL indicates it has some more information about the issue. (cherry picked from commit f4b31edf2d9d72878dab1f66a36913b5bcc848ec) Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions