- Notifications
You must be signed in to change notification settings - Fork28
Commitc186954
committed
Use abstracted SSL API in server connection log messages
The existing "connection authorized" server log messages used OpenSSLAPI calls directly, even though similar abstracted API calls exist.Change to use the latter instead.Change the function prototype for the functions that return the TLSversion and the cipher to return const char * directly instead ofcopying into a buffer. That makes them slightly easier to use.Add bits= to the message. psql shows that, so we might as well show thesame information on the client and server.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Reviewed-by: Michael Paquier <michael.paquier@gmail.com>1 parenta6ef00b commitc186954
File tree
4 files changed
+26
-20
lines changed- src
- backend
- libpq
- postmaster
- utils/init
- include/libpq
4 files changed
+26
-20
lines changedLines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1047 | 1047 |
| |
1048 | 1048 |
| |
1049 | 1049 |
| |
1050 |
| - | |
1051 |
| - | |
| 1050 | + | |
| 1051 | + | |
1052 | 1052 |
| |
1053 | 1053 |
| |
1054 |
| - | |
| 1054 | + | |
1055 | 1055 |
| |
1056 |
| - | |
| 1056 | + | |
1057 | 1057 |
| |
1058 | 1058 |
| |
1059 |
| - | |
1060 |
| - | |
| 1059 | + | |
| 1060 | + | |
1061 | 1061 |
| |
1062 | 1062 |
| |
1063 |
| - | |
| 1063 | + | |
1064 | 1064 |
| |
1065 |
| - | |
| 1065 | + | |
1066 | 1066 |
| |
1067 | 1067 |
| |
1068 | 1068 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2909 | 2909 |
| |
2910 | 2910 |
| |
2911 | 2911 |
| |
2912 |
| - | |
2913 |
| - | |
| 2912 | + | |
| 2913 | + | |
2914 | 2914 |
| |
2915 | 2915 |
| |
2916 | 2916 |
| |
|
Lines changed: 14 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
246 | 246 |
| |
247 | 247 |
| |
248 | 248 |
| |
249 |
| - | |
| 249 | + | |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
253 |
| - | |
254 |
| - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
255 | 258 |
| |
256 | 259 |
| |
257 | 260 |
| |
| |||
260 | 263 |
| |
261 | 264 |
| |
262 | 265 |
| |
263 |
| - | |
| 266 | + | |
264 | 267 |
| |
265 | 268 |
| |
266 |
| - | |
267 |
| - | |
268 |
| - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
269 | 275 |
| |
270 | 276 |
| |
271 | 277 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 |
| - | |
260 |
| - | |
| 259 | + | |
| 260 | + | |
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
|
0 commit comments
Comments
(0)