Commit f4b31ed
authored
pythongh-127257: ssl: Raise OSError for ERR_LIB_SYS (pythonGH-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.1 parent 690fe07 commit f4b31ed
File tree
2 files changed
+12
-0
lines changed- Misc/NEWS.d/next/Library
- Modules
2 files changed
+12
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + |
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
667 | 667 |
| |
668 | 668 |
| |
669 | 669 |
| |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
670 | 675 |
| |
671 | 676 |
| |
672 | 677 |
| |
| |||
692 | 697 |
| |
693 | 698 |
| |
694 | 699 |
| |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
695 | 705 |
| |
696 | 706 |
| |
697 | 707 |
| |
|
0 commit comments