pgsql: Use be_tls_* API for SSL information in sslinfo

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Use be_tls_* API for SSL information in sslinfo
Дата
Msg-id E1kZsGU-0001uu-By@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use be_tls_* API for SSL information in sslinfo

sslinfo was passing the Port->ssl member directly to OpenSSL in order
to extract information regarding the connection. This breaks the API
provided by the backend TLS implementation, as well as duplicates code
for no benefit. Rewrite to make use of the backend API as much as
possible.

Author: Daniel Gustafsson <daniel@yesql.se>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5d1833f414973595411779b86e085fb05907a805

Modified Files
--------------
contrib/sslinfo/sslinfo.c | 139 ++++++++++++++++------------------------------
doc/src/sgml/sslinfo.sgml |   4 +-
2 files changed, 49 insertions(+), 94 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Remove use of deprecated containment operators in tests
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Use the non-deprecated TG_TABLE_MAME in test trigger