Re: OpenSSL Applink

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: OpenSSL Applink
Дата
Msg-id 4701026A.5070200@postgresql.org
обсуждение исходный текст
Ответ на Re: OpenSSL Applink  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: OpenSSL Applink  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Magnus Hagander wrote:
> Yes, that was the problem. Attached patch fixes the problem for me on
> Windows and Linux using the error mark functionality. It seems a lot
> cleaner than the other option.
 >
> Dave - can you test this one? Assuming that works, I'll go ahead and apply
> it.

Yep, looks good here. Thanks.

> I also think we have the same problem in the current code, just not for
> fopen(). We trap fopen() without anything happening inside OpenSSL, but if
> we get an error in the OpenSSL functions we call, something similar would
> likely happen.
>
> Should we backpatch all the stuff, or just the error push/pop thing?

All of it. Anyone building just libpq/psql using the old MSVC makefiles
will probably see the applink problem if they try to use client certs.

/D


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: OpenSSL Applink
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: 64bit compile linker problem of win32.mak.