Re: pgsql: Add API functions to libpq to interrogate SSL related stuff.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Add API functions to libpq to interrogate SSL related stuff. |
| Дата | |
| Msg-id | 12315.1423009403@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | pgsql: Add API functions to libpq to interrogate SSL related stuff. (Heikki Linnakangas <heikki.linnakangas@iki.fi>) |
| Список | pgsql-committers |
Heikki Linnakangas <heikki.linnakangas@iki.fi> writes:
> Add API functions to libpq to interrogate SSL related stuff.
This patch is one large brick shy of a load: it creates exported libpq
functions but fails to ensure they always exist. That's why jacana is
unhappy; though TBH I'm astonished that any non-ssl-enabled builds
are passing. Apparently missing library functions are less of a hard
error on Linux than they ought to be.
I think probably the exported functions need to be defined in fe-exec.c
or fe-connect.c, with bodies along the lines of
#ifdef USE_OPENSSL
call OpenSSL-specific function
#else
return NULL
#endif
(or whatever's appropriate when no SSL support). We do want these
functions to exist even in non-SSL-enabled builds.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера