forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4dddf85
committed
Back-patch libpq support for TLS versions beyond v1.
Since 7.3.2, libpq has been coded in such a way that the only SSL protocolit would allow was TLS v1. That approach is looking increasingly obsolete.In commit820f08c we fixed it to allow TLS >= v1, but did notback-patch the change at the time, partly out of caution and partly becausethe question was confused by a contemporary server-side change to rejectthe now-obsolete SSL protocol v3. 9.4 has now been out long enough thatit seems safe to assume the change is OK; hence, back-patch into 9.0-9.3.(I also chose to back-patch some relevant comments added by commit326e1d7, but did *not* change the server behavior; hence, pre-9.4servers will continue to allow SSL v3, even though no remotely modernclient will request it.)Per gripe from Jan Bilek.1 parent760e7ad commit4dddf85
2 files changed
+17
-1
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
738 | 745 |
| |
739 | 746 |
| |
740 | 747 |
| |
|
Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
965 | 965 |
| |
966 | 966 |
| |
967 | 967 |
| |
968 |
| - | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
969 | 975 |
| |
970 | 976 |
| |
971 | 977 |
| |
| |||
980 | 986 |
| |
981 | 987 |
| |
982 | 988 |
| |
| 989 | + | |
| 990 | + | |
| 991 | + | |
983 | 992 |
| |
984 | 993 |
| |
985 | 994 |
| |
|
0 commit comments
Comments
(0)