Repository navigation
Commit e7acd6a
authored
Fix TLS 1.0–1.2 availability detection with OpenSSL 4.0
OpenSSL 4.0 removed the version-specific methods but still supports
TLS 1.0–1.2 through TLS_method(). Stop reporting these versions as
unavailable, and expose legacy PROTOCOL_TLSv1* constants only when their corresponding methods exist.
1 parent 6b58f9a commit e7acd6a
3 files changed
Lines changed: 9 additions & 6 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Library
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4567 | 4567 | | |
4568 | 4568 | | |
4569 | 4569 | | |
| 4570 | + | |
| 4571 | + | |
4570 | 4572 | | |
4571 | 4573 | | |
4572 | 4574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
| |||
7526 | 7525 | | |
7527 | 7526 | | |
7528 | 7527 | | |
7529 | | - | |
| 7528 | + | |
7530 | 7529 | | |
7531 | 7530 | | |
7532 | | - | |
| 7531 | + | |
7533 | 7532 | | |
7534 | 7533 | | |
7535 | | - | |
| 7534 | + | |
7536 | 7535 | | |
7537 | 7536 | | |
7538 | 7537 | | |
| |||
0 commit comments