Re: BUG #4869: No proper initialization of OpenSSL-Engine in libpq
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #4869: No proper initialization of OpenSSL-Engine in libpq |
| Дата | |
| Msg-id | 19329.1245686712@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #4869: No proper initialization of OpenSSL-Engine in libpq (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: BUG #4869: No proper initialization of OpenSSL-Engine in libpq
|
| Список | pgsql-bugs |
Magnus Hagander <magnus@hagander.net> writes:
> How about the attached patch? Does it work for you?
The existing references to typedef ENGINE and associated functions are
wrapped in
#if (SSLEAY_VERSION_NUMBER >= 0x00907000L) && !defined(OPENSSL_NO_ENGINE)
I rather imagine that this patch will cause complete failure in builds
where that's not true. I'm also a bit concerned about wrapping a struct
field inside such an #if, as that's likely to cause hard-to-debug
problems if two compilations read libpq-int.h with different #define
environments.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера