Commit 0830973
Drop old OpenSSL and LibreSSL version support
The new baseline is OpenSSL 1.1.1 or LibreSSL 2.8.0. I chose the
former because it's the version available in Rocky Linux 8 (and
presumably RHEL 8), which is still under support. The latter is just
because it's been released around the same time.
By doing this, we can drop every preprocessor conditional that depends
on `OPENSSL_VERSION_NUMBER` and almost every one that depends on
`LIBRESSL_VERSION_NUMBER`.
In addition, we can now make the following simplifications:
* Drop support for SSLv2, since neither library supports it anymore.
For backwards compatibility, the protocol name is still allowed in
the config, but does nothing.
* Remove the setting of the `SSL_OP_SINGLE_{EC,}DH_USE` options, since
they're now permanently enabled in both libraries.
* Remove the `OPENSSL_init_ssl` call, which is now unnecessary.
* Remove the manual seeding code, since both libraries now handle
seeding automatically. In LibreSSL, `RAND_load_file` doesn't even do
anything.
close #325
see #3211 parent f77a528 commit 0830973
File tree
6 files changed
+42
-361
lines changed- doc/pod
- nnrpd
6 files changed
+42
-361
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
| 1328 | + | |
1331 | 1329 | | |
1332 | 1330 | | |
1333 | 1331 | | |
| |||
1341 | 1339 | | |
1342 | 1340 | | |
1343 | 1341 | | |
1344 | | - | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
1345 | 1346 | | |
1346 | 1347 | | |
1347 | 1348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
| 185 | + | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
| 641 | + | |
| 642 | + | |
645 | 643 | | |
646 | 644 | | |
647 | | - | |
| 645 | + | |
648 | 646 | | |
649 | 647 | | |
650 | 648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
| 1361 | + | |
| 1362 | + | |
1365 | 1363 | | |
1366 | 1364 | | |
1367 | | - | |
| 1365 | + | |
1368 | 1366 | | |
1369 | 1367 | | |
1370 | 1368 | | |
| |||
0 commit comments