forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit512f4ca
committed
Fix sslsni connparam boolean check
The check for sslsni only checked for existence of the parameterbut not for the actual value of the param. This meant that theSNI extension was always turned on. Fix by inspecting the valueof sslsni and only activate the SNI extension iff sslsni has beenenabled. Also update the docs to be more in line with how otherboolean params are documented.Backpatch to 14 where sslsni was first implemented.Reviewed-by: Tom LaneBackpatch-through: 14, where sslni was added1 parent37450f2 commit512f4ca
File tree
2 files changed
+2
-2
lines changed- doc/src/sgml
- src/interfaces/libpq
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1782 | 1782 |
| |
1783 | 1783 |
| |
1784 | 1784 |
| |
1785 |
| - | |
| 1785 | + | |
1786 | 1786 |
| |
1787 | 1787 |
| |
1788 | 1788 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1092 | 1092 |
| |
1093 | 1093 |
| |
1094 | 1094 |
| |
1095 |
| - | |
| 1095 | + | |
1096 | 1096 |
| |
1097 | 1097 |
| |
1098 | 1098 |
| |
|
0 commit comments
Comments
(0)