Commit cf76174
authored
SSLContext.post_handshake_auth = True no longer sets
SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the
option is documented as ignored for clients, OpenSSL implicitly enables cert
chain validation when the flag is set.
Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue37428
(cherry picked from commit f0f5930)
Co-authored-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue37428
1 parent e2e41cd commit cf76174
File tree
3 files changed
+61
-17
lines changed- Lib/test
- Misc/NEWS.d/next/Library
- Modules
3 files changed
+61
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4437 | 4437 | | |
4438 | 4438 | | |
4439 | 4439 | | |
| 4440 | + | |
| 4441 | + | |
| 4442 | + | |
| 4443 | + | |
| 4444 | + | |
| 4445 | + | |
| 4446 | + | |
| 4447 | + | |
| 4448 | + | |
| 4449 | + | |
| 4450 | + | |
| 4451 | + | |
| 4452 | + | |
| 4453 | + | |
| 4454 | + | |
| 4455 | + | |
| 4456 | + | |
| 4457 | + | |
| 4458 | + | |
| 4459 | + | |
| 4460 | + | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
| 4466 | + | |
| 4467 | + | |
| 4468 | + | |
| 4469 | + | |
| 4470 | + | |
4440 | 4471 | | |
4441 | 4472 | | |
4442 | 4473 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
934 | 954 | | |
935 | 955 | | |
936 | 956 | | |
| |||
2928 | 2948 | | |
2929 | 2949 | | |
2930 | 2950 | | |
2931 | | - | |
2932 | | - | |
2933 | | - | |
2934 | | - | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
2935 | 2955 | | |
2936 | 2956 | | |
2937 | 2957 | | |
| |||
3628 | 3648 | | |
3629 | 3649 | | |
3630 | 3650 | | |
3631 | | - | |
3632 | | - | |
3633 | 3651 | | |
3634 | 3652 | | |
3635 | 3653 | | |
| |||
3641 | 3659 | | |
3642 | 3660 | | |
3643 | 3661 | | |
3644 | | - | |
3645 | | - | |
3646 | | - | |
3647 | | - | |
3648 | | - | |
3649 | | - | |
3650 | | - | |
3651 | | - | |
3652 | | - | |
3653 | | - | |
3654 | | - | |
| 3662 | + | |
| 3663 | + | |
3655 | 3664 | | |
3656 | 3665 | | |
3657 | 3666 | | |
| |||
0 commit comments