- Notifications
You must be signed in to change notification settings - Fork5
Commite453cc2
committed
Make Port->ssl_in_use available, even when built with !USE_SSL
Code that check the flag no longer need #ifdef's, which is more convenient.In particular, makes it easier to write extensions that depend on it.In the passing, modify sslinfo's ssl_is_used function to check ssl_in_useinstead of the OpenSSL specific 'ssl' pointer. It doesn't make anydifference currently, as sslinfo is only compiled when built with OpenSSL,but seems cleaner anyway.1 parentf5d9698 commite453cc2
File tree
3 files changed
+8
-14
lines changed- contrib/sslinfo
- src
- backend/libpq
- include/libpq
3 files changed
+8
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
929 | 928 | | |
930 | 929 | | |
931 | 930 | | |
932 | 931 | | |
933 | | - | |
934 | 932 | | |
935 | 933 | | |
936 | | - | |
| 934 | + | |
937 | 935 | | |
938 | 936 | | |
939 | 937 | | |
| |||
1684 | 1682 | | |
1685 | 1683 | | |
1686 | 1684 | | |
1687 | | - | |
1688 | 1685 | | |
1689 | 1686 | | |
1690 | 1687 | | |
| |||
1697 | 1694 | | |
1698 | 1695 | | |
1699 | 1696 | | |
1700 | | - | |
1701 | | - | |
1702 | | - | |
1703 | | - | |
1704 | | - | |
1705 | 1697 | | |
1706 | 1698 | | |
1707 | 1699 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
| 187 | + | |
189 | 188 | | |
190 | | - | |
191 | 189 | | |
192 | 190 | | |
193 | 191 | | |
194 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| |||
0 commit comments
Comments
(0)